diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java index b5c04f004f..d0fe6146e3 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobFilter.java @@ -21,8 +21,13 @@ import java.util.regex.PatternSyntaxException; import java.io.IOException; +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; + // A class that could decide if a string matches the glob or not -class GlobFilter implements PathFilter { +@InterfaceAudience.Public +@InterfaceStability.Evolving +public class GlobFilter implements PathFilter { private final static PathFilter DEFAULT_FILTER = new PathFilter() { public boolean accept(Path file) { return true; diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index caf283ac86..9a54457b03 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -67,6 +67,8 @@ Trunk (unreleased changes) HDFS-2322. the build fails in Windows because commons-daemon TAR cannot be fetched. (tucu) + HDFS-2474. Make GlobFilter class public. (tucu) + BUG FIXES HDFS-2287. TestParallelRead has a small off-by-one bug. (todd)