You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "XieXianshan (JIRA)" <ji...@apache.org> on 2011/07/05 15:44:16 UTC

[jira] [Created] (HADOOP-7441) Improvement for the FsShell -copyFromLocal/-put"

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

        

[jira] [Resolved] (HADOOP-7441) Improvement for the FsShell -copyFromLocal/-put"

Posted by "XieXianshan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

XieXianshan resolved HADOOP-7441.
---------------------------------

    Resolution: Duplicate

> 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
>            Assignee: 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