[
https://issues.apache.org/jira/browse/HDFS-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238593#comment-13238593
]
Tsz Wo (Nicholas), SZE commented on HDFS-2413:
----------------------------------------------
+1 Thanks Harsh, the patch looks good.
> Also, might it be reasonable to mark just isInSafeMode
> @InterfaceStability.Stable?
Since this is a new API, we are not sure if want to change it. Let's leave it
as-is for the moment.
> 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
> Attachments: HDFS-2413.patch, HDFS-2413.patch, HDFS-2413.patch,
> HDFS-2413.patch
>
>
> 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