[ 
https://issues.apache.org/jira/browse/HDFS-10306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HDFS-10306:
-----------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.9.0
           Status: Resolved  (was: Patch Available)

I've committed this into trunk and branch-2. Thanks for the fix, [~liuml07].

> SafeModeMonitor should not leave safe mode if name system is starting active 
> service
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-10306
>                 URL: https://issues.apache.org/jira/browse/HDFS-10306
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>             Fix For: 2.9.0
>
>         Attachments: HDFS-10306.000.patch
>
>
> This is a follow-up of [HDFS-10192].
> The {{BlockManagerSafeMode$SafeModeMonitor#canLeave()}} is not checking the 
> {{namesystem#inTransitionToActive()}}, while it should. According to the fix 
> of [HDFS-10192], we should add this check to prevent the {{smmthread}} from 
> calling {{leaveSafeMode()}} too early.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to