Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.20.3
-
None
-
None
-
None
Description
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
Attachments
Attachments
Issue Links
- is blocked by
-
HDFS-2145 Add tests for FsShell -copyFromLocal/put without dst path
- Open