hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2083) Adopt JMXJsonServlet into HDFS in order to query statistics
Date Mon, 20 Jun 2011 22:42:47 GMT

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

Suresh Srinivas commented on HDFS-2083:

# Minor: Make this a staic string? "/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo"
# Why do you need to create new string in readOutput() {{out.append(new String(buffer, 0,
# Every time you need a property, you are querying mbean. Can you do it only once and hold
on to the response?
# NamenodeMXBeanHelper javadoc needs to be updated (It still talks about JMX, also look at
other references that talks about JMX access)
# Stream from URLConnection needs to be closed.

> Adopt JMXJsonServlet into HDFS in order to query statistics
> -----------------------------------------------------------
>                 Key: HDFS-2083
>                 URL: https://issues.apache.org/jira/browse/HDFS-2083
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.23.0
>            Reporter: Tanping Wang
>            Assignee: Tanping Wang
>             Fix For: 0.23.0
>         Attachments: HDFS-2083.patch
> HADOOP-7144 added JMXJsonServlet into Common.  It gives the capability to query statistics
and metrics exposed via JMX to be queried through HTTP.  We adopt this into HDFS.  This provides
the alternative solution to HDFS-1874.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message