diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNodeMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNodeMXBean.java index d56d8e6c453..66d1c6d0f12 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNodeMXBean.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNodeMXBean.java @@ -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 public interface DataNodeMXBean { diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java index 46bbeadbcd2..817eedd6892 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java @@ -24,9 +24,11 @@ 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 public interface NameNodeMXBean { diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeStatusMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeStatusMXBean.java index 4f0b0011c80..7b373723ed2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeStatusMXBean.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeStatusMXBean.java @@ -21,10 +21,12 @@ 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 -@InterfaceStability.Evolving +@InterfaceAudience.Private +@InterfaceStability.Stable public interface NameNodeStatusMXBean { /**