hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2466) Need a public way to check DFS Safemode status
Date Tue, 18 Oct 2011 03:54:12 GMT
Need a public way to check DFS Safemode status
----------------------------------------------

                 Key: HDFS-2466
                 URL: https://issues.apache.org/jira/browse/HDFS-2466
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs client
    Affects Versions: 0.23.0
            Reporter: Harsh J
            Assignee: Harsh J
            Priority: Critical


The current way for a DFS client to check or set safemode status is via the private DistributedFileSystem
instances.

While user/downstream (HBASE, PIG, HIVE) clients do not really need a way to "set" the safemode
(doable by shell functions today), they can surely benefit from having a public API to check
for safemode. Right now there is no way to do so.

I plan to introduce a safemode check via a new public, evolving API "HDFSAdmin" (DFSAdmin
already seems taken up by shell).

(Part of HBASE-4510 can benefit from this, for example)

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

        

Mime
View raw message