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

Weiwei Yang commented on HDFS-10928:
------------------------------------

Uploaded v1 patch, the patch adds following changes

* Added mx bean interface {{SCMMXBean}} for SCM and {{NodeManagerMXBean}} for 
node manager
* {{SCMMXBean}} covers following metrics
** Map<String, Integer> getNodeCount()
** String getDatanodeRpcPort()
** String getClientRpcPort()
* {{NodeManagerMXBean}} covers following metrics
** int getMinimumChillModeNodes()
** boolean isOutOfNodeChillMode()
** String getChillModeStatus()
** boolean isInManualChillMode();
** Map<String, Integer> getNodeCount();
* Register mx bean during initialization and unregister the bean during service 
stop
* Added test case {{TestSCMMXBean}} to test all metrics returned by mx beans


> Ozone:SCM: Support MXBean for SCM and NodeManager
> -------------------------------------------------
>
>                 Key: HDFS-10928
>                 URL: https://issues.apache.org/jira/browse/HDFS-10928
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Weiwei Yang
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-10928-HDFS-7240.001.patch
>
>
> Based on comments from [~jingzhao], This JIRA is to track moving getNodes, 
> getNodeCount etc to a MXBean interface. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to