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

Factor out glob pattern code from FileContext and Filesystem

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Tags:
      glob pattern

      Description

      Refactor the glob pattern code out of FileContext and FileSystem into a package private GlobFilter and the reusable GlobPattern class (InterfaceAudience.Private)

      Also fix the handling of ^ outside character class ([...]) reported in HADOOP-6618 and make the glob pattern code less restrictive (not throwing on some valid glob patterns.) and more POSIX standard compliant (support [!...]).

        Attachments

        1. hadoop-6787-y20s-v1.patch
          14 kB
          Luke Lu
        2. hadoop-6787-trunk-v2.patch
          19 kB
          Luke Lu
        3. hadoop-6787-trunk-v1.patch
          19 kB
          Luke Lu

          Issue Links

            Activity

              People

              • Assignee:
                vicaya Luke Lu
                Reporter:
                vicaya Luke Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: