Hadoop Common
  1. Hadoop Common
  2. HADOOP-6787

Factor out glob pattern code from FileContext and Filesystem

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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 [!...]).

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development