Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.4.0
-
Reviewed
Description
Currently for HA upgrade (enabled by HDFS-5138), we use -bootstrapStandby to initialize the standby NameNode. The standby NameNode does not have the previous directory thus it does not know that the cluster is in the upgrade state. If NN failover happens, as response of block reports, the new ANN will tell DNs to finalize the upgrade thus make it impossible to rollback again.