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 5d4c2185c89..90c38d7aabb 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 @@ import java.util.Map; /** * - * 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 c0d256a1da9..e796122c055 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.classification.InterfaceStability; 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.InterfaceAudience; 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 { /**