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

Factor out glob pattern code from FileContext and Filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • fs
    • None
    • Incompatible change, Reviewed
    • 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-trunk-v1.patch
          19 kB
          Luke Lu
        2. hadoop-6787-trunk-v2.patch
          19 kB
          Luke Lu
        3. hadoop-6787-y20s-v1.patch
          14 kB
          Luke Lu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: