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

Add a warning message for FsShell -getmerge when the src path is no a directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.20.3
    • None
    • fs
    • None

    Description

      While the <src> specified for FsShell -getmerge is not a directory,the command does nothing and there's no any message explaining the issue.
      Furthermore,the exitCode is zero.

      $ hdfs dfs -getmerge /user/hadoop/testfile /work/tmp/testfile
      $ echo $?
      0
      $ ls /work/tmp/testfile
      ls: cannot access /work/tmp/testfile: No such file or directory

      Attachments

        1. HADOOP-7447
          0.6 kB
          XieXianshan
        2. HADOOP-7447.patch
          0.8 kB
          XieXianshan
        3. HADOOP-7447-merge.patch
          1.0 kB
          XieXianshan
        4. HADOOP-7447-v0.3.patch
          1 kB
          XieXianshan
        5. HADOOP-7447-v0.4.patch
          2 kB
          XieXianshan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: