hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13016) globStatus javadoc refers to glob pattern as "regular expression"
Date Sat, 13 Jan 2018 15:40:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-13016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325170#comment-16325170

Hudson commented on HDFS-13016:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13495 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13495/])
HDFS-13016. globStatus javadoc refers to glob pattern as "regular (arp: rev 7016dd44e0975274856dc19f19815123c4b2a352)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java

> globStatus javadoc refers to glob pattern as "regular expression"
> -----------------------------------------------------------------
>                 Key: HDFS-13016
>                 URL: https://issues.apache.org/jira/browse/HDFS-13016
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation, hdfs
>            Reporter: Ryanne Dolan
>            Assignee: Mukul Kumar Singh
>            Priority: Trivial
>             Fix For: 3.1.0
>         Attachments: HDFS-13016.001.patch
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message