Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
0.23.0
-
None
-
None
Description
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)
Attachments
Issue Links
- duplicates
-
HDFS-2413 Add public APIs for safemode
- Closed
- is required by
-
HBASE-4510 Check and workaround usage of internal HDFS APIs in HBase
- Closed