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

Aaron T. Myers commented on HDFS-3518:
--------------------------------------

Hey Nicholas, patch looks pretty good to me. Two comments:

# Perhaps this method could reasonably be added to o.a.h.hdfs.client.HdfsAdmin?
# This won't work in an HA setup at the moment since 
DistributedFileSystem#setSafeMode does not perform client failover, per 
HDFS-3507. Presumably a user writing against the isHealthy API would like it to 
return success without considering how many NNs are in play. We might want to 
wait for resolution of that issue before we introduce this new API that we know 
won't work as intended.
                
> Provide API to check HDFS operational state
> -------------------------------------------
>
>                 Key: HDFS-3518
>                 URL: https://issues.apache.org/jira/browse/HDFS-3518
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>            Reporter: Bikas Saha
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.

--
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

        

Reply via email to