Hadoop Common
  1. Hadoop Common
  2. HADOOP-3498

File globbing alternation should be able to span path components

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Extended file globbing alternation to cross path components. For example, {/a/b,/c/d} expands to a path that matches the files /a/b and /c/d.

      Description

      For example,

      {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}

      , rather than a collection of comma separated glob paths /a/b,/c/d.

      This change would also make globbing more consistent with bash, which supports this feature.

      1. hadoop-3498-v3.patch
        11 kB
        Tom White
      2. hadoop-3498-v2.patch
        10 kB
        Tom White
      3. hadoop-3498.patch
        10 kB
        Tom White

        Issue Links

          Activity

          Tom White created issue -
          Tom White made changes -
          Field Original Value New Value
          Link This issue is depended upon by PIG-252 [ PIG-252 ]
          Tom White made changes -
          Attachment hadoop-3498.patch [ 12387743 ]
          Tom White made changes -
          Assignee Tom White [ tomwhite ]
          Tom White made changes -
          Attachment hadoop-3498-v2.patch [ 12388914 ]
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.19.0 [ 12313211 ]
          Tom White made changes -
          Attachment hadoop-3498-v3.patch [ 12389496 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tom White made changes -
          Hadoop Flags [Reviewed]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Release Note File globbing alternation can now cross path components. For example, {/a/b,/c/d} expands to a patch that matches the files /a/b and /c/d.
          Robert Chansler made changes -
          Release Note File globbing alternation can now cross path components. For example, {/a/b,/c/d} expands to a patch that matches the files /a/b and /c/d. Extended file globbing alternation to cross path components. For example, {/a/b,/c/d} expands to a path that matches the files /a/b and /c/d.
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Tom White
              Reporter:
              Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development