[ 
https://issues.apache.org/jira/browse/HDFS-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238980#comment-13238980
 ] 

Hudson commented on HDFS-2413:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #721 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/721/])
    svn merge -c 1305632 from trunk for HDFS-2413. Add an API 
DistributedFileSystem.isInSafeMode() and change DistributedFileSystem to 
@InterfaceAudience.LimitedPrivate. (Revision 1305633)

     Result = SUCCESS
szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305633
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java

                
> 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.24.0, 0.23.3
>
>         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

        

Reply via email to