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

dfs -getmerge should process its argments better

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.2
    • None
    • 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-8140-3.patch
          9 kB
          Daryn Sharp
        2. HADOOP-8140-2.patch
          8 kB
          Daryn Sharp
        3. HADOOP-8140.patch
          6 kB
          Daryn Sharp
        4. Hadoop-1004_1.patch
          4 kB
          Mahadev Konar

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              arkady arkady borkovsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: