Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13016

globStatus javadoc refers to glob pattern as "regular expression"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: documentation, hdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Glob patterns are not regular expressions. Both are well-defined and universally understood concepts. The term "regular expression" is misapplied here.

      The method name "globStatus" indicates that pathPattern should be a glob, but the javadoc says pathPattern is a regular expression. The documentation goes on to describe the accepted format of pathPattern and clearly describes globs.

      The term "regular expression" should not be associated with pathPattern.

        Attachments

        1. HDFS-13016.001.patch
          2 kB
          Mukul Kumar Singh

          Activity

            People

            • Assignee:
              msingh Mukul Kumar Singh
              Reporter:
              ryannedolan Ryanne Dolan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: