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

Annotate NameNode and DataNode MXBean interfaces as Private/Stable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • 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.

      Attachments

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

        Activity

          People

            jagadesh.kiran Jagadesh Kiran N
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: