[ https://issues.apache.org/jira/browse/HDFS-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J resolved HDFS-2466. --------------------------- Resolution: Duplicate Sorry, this is a dupe of HDFS-2413 > 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