hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9562) Create REST interface for HDFS health data
Date Fri, 17 May 2013 04:39:16 GMT

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

Steve Loughran commented on HADOOP-9562:
----------------------------------------

Well, it's clearly not a bug, which makes it a feature of some form, to go into trunk and
then backported with the blessing/acquiescence of the release manager. I'm happy to help review
and vote on this, if you are happy to deal with the inconsistencies of adding features to
what you declared to be a feature-frozen release.

I've proposed a section on Web UI compatibility to the [compatibility definitions|https://issues.apache.org/jira/browse/HADOOP-9517?focusedCommentId=13660321&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13660321],
this argues in favour of a a machine-parseable format from the outset. 

It could still be XML with an XSL for the browser to auto-convert into human-readable content;
I know JSON is the format du-jour, but XML tooling is built into Java (and iphone, android,
etc), and it is actually more tightly specified than JSON, which has some gaping holes in
its spec (what happens if you have duplicate keys, for example).

                
> Create REST interface for HDFS health data
> ------------------------------------------
>
>                 Key: HADOOP-9562
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9562
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.0.4-alpha
>            Reporter: Trevor Lorimer
>            Priority: Minor
>
> The HDFS health screen (dfshealth.jsp) displays basic Version, Security and Health information
concerning the NameNode, currently this information is accessible from classes in the org.apache.hadoop,hdfs.server.namenode
package and cannot be accessed outside the NameNode. This becomes prevalent if the data is
required to be displayed using a new user interface.
> The proposal is to create a REST interface to expose all the information displayed on
dfshealth.jsp using GET methods. Wrapper classes will be created to serve the data to the
REST root resource within the hadoop-hdfs project.
> This will enable the HDFS health screen information to be accessed remotely.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message