[
https://issues.apache.org/jira/browse/HDFS-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216290#comment-13216290
]
Hitesh Shah commented on HDFS-2978:
-----------------------------------
@Aaron, the current patch should be fine as all the data currently exposed
follows the same json serialize approach. However, at some point, it would be
good to look at exactly how this is being used or meant to be used and fix the
mbean output if needed.
Also to clarify, if the data is being read via the /jmx http endpoint, it will
return a valid json object ( mapped from the object being returned to the MX
bean interface ) but I am not sure how this will affect scripts/programs that
access the jmx data via a local connection in terms of whether they need to be
tightly bound to the object type being returned as compared to be being a more
flexible in handling a serialized json string.
> The NameNode should expose name dir statuses via JMX
> ----------------------------------------------------
>
> Key: HDFS-2978
> URL: https://issues.apache.org/jira/browse/HDFS-2978
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: name-node
> Affects Versions: 0.23.0
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Attachments: HDFS-2978.patch
>
>
> We currently display this info on the NN web UI, so users who wish to monitor
> this must either do it manually or parse HTML. We should publish this
> information via JMX.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira