FAQ
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

Search Discussions

  • XieXianshan (JIRA) at Aug 5, 2011 at 1:18 am
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJul 5, '11 at 1:44p
activeAug 5, '11 at 1:18a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

XieXianshan (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase