Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
The DataNode and NameNode MXBean interfaces have been marked as Private and Stable to indicate that although users should not be implementing these interfaces directly, the information exposed by these interfaces is part of the HDFS public API.
Description
NameNodeMXBean, NameNodeStatusMXBean, DataNodeMXBean are annotated @Public and @Stable, but some methods are being added. For example, DataNodeMXBean.getBPServiceActorInfo was added between branch-2.7.3 and branch-2.8. Adding methods to interfaces breaks the user classes which implement them, so we should make them @Private.