Hadoop Common
  1. Hadoop Common
  2. HADOOP-8140

dfs -getmerge should process its argments better

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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).

      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

          arkady borkovsky created issue -
          dhruba borthakur made changes -
          Field Original Value New Value
          Component/s dfs [ 12310710 ]
          Mahadev konar made changes -
          Assignee Mahadev konar [ mahadev ]
          Mahadev konar made changes -
          Attachment Hadoop-1004_1.patch [ 12376179 ]
          Mahadev konar made changes -
          Assignee Mahadev konar [ mahadev ] Robert Chansler [ chansler ]
          Owen O'Malley made changes -
          Project Hadoop Common [ 12310240 ] HDFS [ 12310942 ]
          Key HADOOP-1004 HDFS-152
          Component/s dfs [ 12310710 ]
          Daryn Sharp made changes -
          Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
          Key HDFS-152 HADOOP-8140
          Daryn Sharp made changes -
          Assignee Robert Chansler [ chansler ] Daryn Sharp [ daryn ]
          Daryn Sharp made changes -
          Attachment HADOOP-8140.patch [ 12517110 ]
          Daryn Sharp made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Daryn Sharp made changes -
          Attachment HADOOP-8140-2.patch [ 12517127 ]
          Daryn Sharp made changes -
          Attachment HADOOP-8140-3.patch [ 12517250 ]
          Robert Joseph Evans made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.23.2 [ 12319855 ]
          Resolution Fixed [ 1 ]
          Daryn Sharp made changes -
          Link This issue supercedes HDFS-2146 [ HDFS-2146 ]
          Daryn Sharp made changes -
          Link This issue supercedes HADOOP-7447 [ HADOOP-7447 ]
          Daryn Sharp made changes -
          Link This issue relates to HADOOP-8179 [ HADOOP-8179 ]
          Daryn Sharp made changes -
          Link This issue is duplicated by HADOOP-6387 [ HADOOP-6387 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development