Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7441

Improvement for the FsShell -copyFromLocal/-put"

    XMLWordPrintableJSON

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

        1. HADOOP_7441.patch
          0.7 kB
          XieXianshan
        2. HADOOP-7441
          0.6 kB
          XieXianshan
        3. HADOOP-7441
          1.0 kB
          XieXianshan
        4. HADOOP-7441_2
          1.0 kB
          XieXianshan

        Issue Links

          Activity

            People

              xiexianshan XieXianshan
              xiexianshan XieXianshan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: