Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11217

Annotate NameNode and DataNode MXBean interfaces as Private/Stable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Release Note:
      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.

        Attachments

        1. HDFS-11217_00.patch
          3 kB
          Jagadesh Kiran N

          Activity

            People

            • Assignee:
              jagadesh.kiran Jagadesh Kiran N
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: