hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7441) Improvement for the FsShell -copyFromLocal/-put"
Date Fri, 22 Jul 2011 16:15:57 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069599#comment-13069599
] 

Daryn Sharp commented on HADOOP-7441:
-------------------------------------

The latest patch doesn't address the previously cited issue of retaining the user's supplied
path, and it will also cause an explicit authority to be dropped in all cases.

> 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
>         Attachments: HADOOP-7441, HADOOP-7441, HADOOP-7441_2, HADOOP_7441.patch
>
>
> 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