Sfoglia il codice sorgente

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

Vinayakumar B 9 anni fa
parent
commit
4b0e59fdc0

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

@@ -2550,6 +2550,9 @@ Release 2.6.5 - UNRELEASED
 
   IMPROVEMENTS
 
+    HADOOP-12805. Annotate CanUnbuffer with @InterfaceAudience.Public
+    (Ted Yu via vinayakumarb)
+
   OPTIMIZATIONS
 
   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
  * their buffers on request.
  */
-@InterfaceAudience.Private
+@InterfaceAudience.Public
 @InterfaceStability.Evolving
 public interface CanUnbuffer {
   /**