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

Wildcard input syntax (glob) should support {}

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.1
    • Fix Version/s: 0.15.0
    • Component/s: fs
    • Labels:
      None

      Description

      We have users who have organized data by day and would like to select several days in a single input specification. For example they would like to be able to say:

      '/data/2007

      {0830,0831,0901}

      /typeX/'

      To input 3 days data into map-reduce (or Pig in this case).

      (Also the use of regexp to resolve glob paterns looks like it might introduce some other bugs. I'd appreciate it if someone took another look at the code to see if there are any file characters that could
      be interpreted as regexp "instructions").

        Attachments

        1. curlyGlob.patch
          13 kB
          Hairong Kuang
        2. curlyGlob1.patch
          14 kB
          Hairong Kuang

          Activity

            People

            • Assignee:
              hairong Hairong Kuang
              Reporter:
              eric14 Eric Baldeschwieler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: