Browse Source

HADOOP-12805. Annotate CanUnbuffer with @InterfaceAudience.Public (Contributed by Ted Yu)

(cherry picked from commit 4b0e59fdc010be517dd67ddf35c962da204df547)
(cherry picked from commit e79a5e4460b5199eebb0d788fdc1eaa36d6b0ac4)
Vinayakumar B 9 years ago
parent
commit
05c7821530

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -870,6 +870,9 @@ Release 2.6.5 - UNRELEASED
 
 
   IMPROVEMENTS
   IMPROVEMENTS
 
 
+    HADOOP-12805. Annotate CanUnbuffer with @InterfaceAudience.Public
+    (Ted Yu via vinayakumarb)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
   BUG FIXES
   BUG FIXES

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CanUnbuffer.java

@@ -25,7 +25,7 @@ import org.apache.hadoop.classification.InterfaceStability;
  * FSDataInputStreams implement this interface to indicate that they can clear
  * FSDataInputStreams implement this interface to indicate that they can clear
  * their buffers on request.
  * their buffers on request.
  */
  */
-@InterfaceAudience.Private
+@InterfaceAudience.Public
 @InterfaceStability.Evolving
 @InterfaceStability.Evolving
 public interface CanUnbuffer {
 public interface CanUnbuffer {
   /**
   /**