HDFS-11217. Annotate NameNode and DataNode MXBean interfaces as Private/Stable. Contributed by Jagadesh Kiran N.

This commit is contained in:
Andrew Wang 2016-12-09 12:05:42 -08:00
parent 80b8023276
commit 5bd7dece92
3 changed files with 13 additions and 7 deletions

View File

@ -24,9 +24,11 @@
/** /**
* *
* This is the JMX management interface for data node information * This is the JMX management interface for data node information.
* End users shouldn't be implementing these interfaces, and instead
* access this information through the JMX APIs.
*/ */
@InterfaceAudience.Public @InterfaceAudience.Private
@InterfaceStability.Stable @InterfaceStability.Stable
public interface DataNodeMXBean { public interface DataNodeMXBean {

View File

@ -24,9 +24,11 @@
import org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo; import org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo;
/** /**
* This is the JMX management interface for namenode information * This is the JMX management interface for namenode information.
* End users shouldn't be implementing these interfaces, and instead
* access this information through the JMX APIs.
*/ */
@InterfaceAudience.Public @InterfaceAudience.Private
@InterfaceStability.Stable @InterfaceStability.Stable
public interface NameNodeMXBean { public interface NameNodeMXBean {

View File

@ -21,10 +21,12 @@
import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceStability;
/** /**
* This is the JMX management interface for NameNode status information * This is the JMX management interface for NameNode status information.
* End users shouldn't be implementing these interfaces, and instead
* access this information through the JMX APIs. *
*/ */
@InterfaceAudience.Public @InterfaceAudience.Private
@InterfaceStability.Evolving @InterfaceStability.Stable
public interface NameNodeStatusMXBean { public interface NameNodeStatusMXBean {
/** /**