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

File globbing alternation should be able to span path components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • fs
    • None
    • Reviewed
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              tomwhite Thomas White
              tomwhite Thomas White
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: