hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12286) Ozone: Extend MBeans utility to add any key value pairs to the registered MXBeans
Date Thu, 10 Aug 2017 18:11:00 GMT

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

Anu Engineer commented on HDFS-12286:

[~elek] The patch looks good to me. I have a question before we commit this. Suppose I create
a JMX with additional properties. How will it look when I access it via the http://namenode:port/jmx,
does the additional properties show up as normal key values in JSON ? 

> Ozone: Extend MBeans utility to add any key value pairs to the registered MXBeans
> ---------------------------------------------------------------------------------
>                 Key: HDFS-12286
>                 URL: https://issues.apache.org/jira/browse/HDFS-12286
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: HDFS-7240
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>             Fix For: HDFS-7240
>         Attachments: HDFS-12286-HDFS-7240.001.patch
> The MBeans class in hadoop-common helps to register MXBean to the platform jmx bean.
Unfortunatelly it supports only Name and Service keys even if the JMX specification allows
any key value pairs to use as a part of the ObjectName.
> This patch adds the possibility to define more key/value pairs for the JMX ObjectName.
> It will be usefull for the SCM/KSM web page. Both SCM/KSM Server have common jmx properties.
But to use a common html component to display them we need a possibility to get the JMX bean
of SCM server and KSM server with one query.
> This will be possible with adding additional (common) key/value property to the ObjectName.

This message was sent by Atlassian JIRA

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

View raw message