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

dfs -getmerge should process its argments better

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.2
    • Component/s: None
    • Labels:
      None

      Description

      The command only works if its argument is a directory
      If the argement is a file or a wildcard, it does nothing without any message.
      If not arguments are given, the command fails with a stack dump.

      The improved version should:
      – produce an error message in case it cannot perform meaningful action (no argument, or no matching files)
      – copy the files specified by a wildcard expresstion. (A single file is special case of this).

        Attachments

        1. Hadoop-1004_1.patch
          4 kB
          Mahadev konar
        2. HADOOP-8140.patch
          6 kB
          Daryn Sharp
        3. HADOOP-8140-2.patch
          8 kB
          Daryn Sharp
        4. HADOOP-8140-3.patch
          9 kB
          Daryn Sharp

          Issue Links

            Activity

              People

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                arkady arkady borkovsky
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: