From b2c78536cb55c58e4d4a0ea16f648a34c7e2f88c Mon Sep 17 00:00:00 2001 From: cnauroth Date: Sat, 28 Nov 2015 15:40:07 -0800 Subject: [PATCH] HADOOP-12600. FileContext and AbstractFileSystem should be annotated as a Stable interface. Contributed by Chris Nauroth. --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java | 2 +- .../src/main/java/org/apache/hadoop/fs/FileContext.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 4f354321f73..3c7709980af 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -994,6 +994,9 @@ Release 2.8.0 - UNRELEASED HADOOP-10465. Fix use of generics within SortedMapWritable. (Bertrand Dechoux via wheat9) + HADOOP-12600. FileContext and AbstractFileSystem should be annotated as a + Stable interface. (cnauroth) + OPTIMIZATIONS HADOOP-11785. Reduce the number of listStatus operation in distcp diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java index 2bc38591509..1fce04c5741 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java @@ -64,7 +64,7 @@ import com.google.common.annotations.VisibleForTesting; * to the root of the "this" file system . */ @InterfaceAudience.Public -@InterfaceStability.Evolving /*Evolving for a release,to be changed to Stable */ +@InterfaceStability.Stable public abstract class AbstractFileSystem { static final Log LOG = LogFactory.getLog(AbstractFileSystem.class); diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java index 4dbf9e39088..2456154f299 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java @@ -165,7 +165,7 @@ import org.apache.htrace.core.Tracer; */ @InterfaceAudience.Public -@InterfaceStability.Evolving /*Evolving for a release,to be changed to Stable */ +@InterfaceStability.Stable public class FileContext { public static final Log LOG = LogFactory.getLog(FileContext.class);