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

Luke Lu commented on HADOOP-9562:
---------------------------------

I think this patch is a little controversial in that

# It duplicates functionality already mostly provided by existing mechanisms: 
JMX and its HTTP bridge.
# The jersey stuff doesn't follow Hadoop authentication convention and doesn't 
honor hadoop.http.filter.initializers to setup SPNEGO and other custom auth 
filters.
# No authorization mechanism at all.
# Augmenting existing JMX mechanism is trivial (NameNodeInfoMXBean doesn't have 
to be implemented by FSNameSystem, it was so for convenience).
# Returning data at the whole bean level is a limitation of the current HTTP 
bridge, which is addressed by HADOOP-9160, which adopts a new popular HTTP/JSON 
bridge (Jolokia) that supports advanced querying mechanism with both batch and 
attribute level queries along with first class language bindings for Perl, 
Python and Javascript.
                
> 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: 3.0.0, 2.0.4-alpha
>            Reporter: Trevor Lorimer
>            Priority: Minor
>         Attachments: HADOOP-9562.diff
>
>
> 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 the NameNode 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

Reply via email to