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

Uma Maheswara Rao G commented on HDFS-2914:
-------------------------------------------

{quote}
I could probably be persuaded that the NN should leave SM automatically once 
resources become available again, as long the implementation includes some 
measure(s) to prevent the NN from flapping in/out of SM if the free space is 
hovering near the threshold. Something like "leave SM automatically only if 
free space is now well above what is required, and only if it's been like that 
for several minutes."
{quote}
Yes, this sounds good. As NameNodeResourceChecker moved the system into 
safemode on some condition, should be its responsibility to take out of the 
safemode whenever system is out of that condition.
                
> 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: Sub-task
>          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