hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XieXianshan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7441) Improvement for the FsShell -copyFromLocal/-put"
Date Tue, 05 Jul 2011 13:44:16 GMT
Improvement for the FsShell -copyFromLocal/-put"
------------------------------------------------

                 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

        

Mime
View raw message