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

Hari Mankude commented on HDFS-2914:
------------------------------------

When shared edits dir is bounced, df will return space of zero. Since shared is 
required dir, standby nn will enter into safe mode. 

2012-02-08 01:08:19,850 WARN  namenode.NameNodeResourceChecker 
(NameNodeResourceChecker.java:isResourceAvailable(89)) - Space available on 
volume 'nfs directory' is 0, which is below the configured reserved amount 
104857600
2012-02-08 01:08:19,853 WARN  namenode.FSNamesystem 
(FSNamesystem.java:run(3095)) - NameNode low on available disk space. Entering 
safe mode.

The fix could be trivial enough to exit safe mode when shared resources become 
available for standby NN.

                
> HA Standby stuck in safemode when shared edits directory is bounced
> -------------------------------------------------------------------
>
>                 Key: HDFS-2914
>                 URL: https://issues.apache.org/jira/browse/HDFS-2914
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Hari Mankude
>
> When shared edits dir is bounced, standby NN is put into safemode by the 
> NameNodeResourceMonitor(). However, there is no path for it to exit out of 
> safe mode when shared edits dir reappears.

--
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