hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11217) Annotate NameNode and DataNode MXBean interfaces as Private/Stable
Date Fri, 09 Dec 2016 20:22:58 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15736256#comment-15736256
] 

Hudson commented on HDFS-11217:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10977 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10977/])
HDFS-11217. Annotate NameNode and DataNode MXBean interfaces as (wang: rev 5bd7dece920b20da95755cf7fbba9b3f39c7da69)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeStatusMXBean.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNodeMXBean.java


> Annotate NameNode and DataNode MXBean interfaces as Private/Stable
> ------------------------------------------------------------------
>
>                 Key: HDFS-11217
>                 URL: https://issues.apache.org/jira/browse/HDFS-11217
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Akira Ajisaka
>            Assignee: Jagadesh Kiran N
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11217_00.patch
>
>
> 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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message