[
https://issues.apache.org/jira/browse/HDFS-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129482#comment-13129482
]
Harsh J commented on HDFS-2413:
-------------------------------
I like Srivas's idea, but its gonna be a behavior change at the moment. I think
we should pursue this on another ticket.
The remaining question for this issue is if we should add the API to a new
class (say, 'HDFSAdmin', since DFSAdmin seems limited for shell usage and is
also marked for private audience), or if we should support the whole of
DFSAdmin with a new addition, publicly?
> Add public APIs for safemode
> ----------------------------
>
> Key: HDFS-2413
> URL: https://issues.apache.org/jira/browse/HDFS-2413
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs client
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Harsh J
> Fix For: 0.23.0
>
>
> Currently the APIs for safe-mode are part of DistributedFileSystem, which is
> supposed to be a private interface. However, dependent software often wants
> to wait until the NN is out of safemode. Though it could poll trying to
> create a file and catching SafeModeException, we should consider making some
> of these APIs public.
--
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