------------------------------------------------
Key: HADOOP-7441
URL: https://issues.apache.org/jira/browse/HADOOP-7441
Project: Hadoop Common
Issue Type: Improvement
Affects Versions: 0.20.3
Reporter: XieXianshan
The message displayed is hard to understand while using the FsShell -copyFromLocal(or -put) without dst path.
For instance:
$hdfs dfs -copyFromLocal /work/tmp/xg
copyFromLocal: `.': File exists
$hdfs dfs -put /work/tmp/xg
put: `.': File exists
Therefore,the message should be changed as follow for more comprehensive.
$hdfs dfs -copyFromLocal /work/tmp/xg
copyFromLocal: `hdfs://localhost:9000/user/root': File exists
$hdfs dfs -put /work/tmp/xg
put: `hdfs://localhost:9000/user/root': File exists
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira