hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3518) Provide API to check HDFS operational state
Date Mon, 18 Jun 2012 19:03:43 GMT

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

Aaron T. Myers commented on HDFS-3518:

bq. This is not an admin method. Any user could have an application using it.

I agree it's not an "admin method" in the sense that it doesn't require super-user privileges,
but it does seem like an "administrative" utility to me in the sense that it's not something
that typical clients need to call, but rather only those clients that are concerned with programmatically
administering HDFS. In the  class comment in HdfsAdmin, there's no mention of super user privileges:

 * The public API for performing administrative functions on HDFS. Those writing      
 * applications against HDFS should prefer this interface to directly accessing
 * functionality in DistributedFileSystem or DFSClient.

Given all this, I do think "isHealthy" makes more sense in HdfsAdmin than in the new "HdfsUtils"
class. Thoughts? I don't mind opening a separate JIRA to discuss this, if you'd prefer.
> 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
>             Fix For: 2.0.1-alpha
>         Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.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


View raw message