Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      CommandFormat currently allows options in any location within the args. This is not the intended behavior for FsShell commands. Prior to the redesign, the commands used to expect option processing to stop at the first non-option.

      CommandFormat was an existing class prior the redesign, but it was only used by "count" to find the -q flag. All commands were converted to using this class, thus inherited the unintended behavior.

      1. HADOOP-7341.patch
        16 kB
        Daryn Sharp
      2. HADOOP-7341-2.patch
        17 kB
        Daryn Sharp
      3. HADOOP-7341-3.patch
        17 kB
        Daryn Sharp

        Issue Links

          Activity

          Harsh J made changes -
          Link This issue relates to HADOOP-7995 [ HADOOP-7995 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Aaron T. Myers made changes -
          Link This issue relates to MAPREDUCE-2568 [ MAPREDUCE-2568 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.23.0 [ 12315569 ]
          Resolution Fixed [ 1 ]
          Daryn Sharp made changes -
          Attachment HADOOP-7341-3.patch [ 12481523 ]
          Daryn Sharp made changes -
          Attachment HADOOP-7341-2.patch [ 12481006 ]
          Daryn Sharp made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Daryn Sharp made changes -
          Attachment HADOOP-7341.patch [ 12480991 ]
          Daryn Sharp made changes -
          Field Original Value New Value
          Link This issue is part of HADOOP-7176 [ HADOOP-7176 ]
          Daryn Sharp created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development