Browse Source

YARN-7140. CollectorInfo should have Public visibility. Contributed by Varun Saxena.

(cherry picked from commit 4a83170be477e6f39f134207f74084888174e96b)
Rohith Sharma K S 7 years ago
parent
commit
e8e1a73cf5

+ 4 - 4
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/CollectorInfo.java

@@ -18,16 +18,16 @@
 
 package org.apache.hadoop.yarn.api.records;
 
-import org.apache.hadoop.classification.InterfaceStability;
-import org.apache.hadoop.classification.InterfaceAudience.Private;
+import org.apache.hadoop.classification.InterfaceStability.Evolving;
+import org.apache.hadoop.classification.InterfaceAudience.Public;
 import org.apache.hadoop.yarn.util.Records;
 
 /**
  * Collector info containing collector address and collector token passed from
  * RM to AM in Allocate Response.
  */
-@Private
-@InterfaceStability.Unstable
+@Public
+@Evolving
 public abstract class CollectorInfo {
 
   protected static final long DEFAULT_TIMESTAMP_VALUE = -1;