hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4373) Add HTTP API for querying NameNode startup progress
Date Wed, 10 Jul 2013 00:05:49 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Chris Nauroth updated HDFS-4373:

    Attachment: HDFS-4373.2.patch

Thanks, Jing.  Here is version 2 of the patch.

Based on the current changes in HDFS-4372, StartupProgressServlet#putIfNotNull may need to
be updated since we no longer use Long and null for regular and uninitialized fields of Step.

This has been changed so that it only handles nullable {{String}} values, and there is just
one remaining special case in the main method to check for {{Long#MIN_VALUE}} on the optional

In StartupProgressServlet, instead of putting all the information contained in a StartupProgressView
into a newly-created map and converting the map into Json, can we directly dump the StartupProgressView
instance into the response's writer using Json (just like Configuration#dumpConfiguration)?

Yes, I've rewritten this code to use the Jackson streaming API.

We can clean the imports in both TestStartupProgressServlet.java and StartupProgressServlet.java

This is done.
> Add HTTP API for querying NameNode startup progress
> ---------------------------------------------------
>                 Key: HDFS-4373
>                 URL: https://issues.apache.org/jira/browse/HDFS-4373
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-4373.1.patch, HDFS-4373.2.patch
> Provide an HTTP API for non-browser clients to query the NameNode's current progress
through startup.

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

View raw message