Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is a clone of
-
HDFS-10192 Namenode safemode not coming out during failover
- Resolved
- is related to
-
HDFS-10284 o.a.h.hdfs.server.blockmanagement.TestBlockManagerSafeMode.testCheckSafeMode fails intermittently
- Resolved