瀏覽代碼

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

(cherry picked from commit 4b0e59fdc010be517dd67ddf35c962da204df547)
Vinayakumar B 9 年之前
父節點
當前提交
e79a5e4460

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

@@ -1938,6 +1938,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 {
   /**