Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Done
-
3.0.0-alpha1
-
None
Description
HDFS-5079 changed the meaning of state in NNHAStatusHeartbeat when it added in the INITIALIZING state via HAServiceStateProto.
Before change:
enum State { ACTIVE = 0; STANDBY = 1; }
After change:
enum HAServiceStateProto { INITIALIZING = 0; ACTIVE = 1; STANDBY = 2; }
So the new INITIALIZING state will be interpreted as ACTIVE, new ACTIVE interpreted as STANDBY and new STANDBY interpreted as unknown. Any rolling upgrade to 3.0.0 will break because the datanodes that haven't been updated will misinterpret the NN state.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-5079 Cleaning up NNHAStatusHeartbeat.State DatanodeProtocolProtos.
- Resolved
- relates to
-
HDFS-11096 Support rolling upgrade between 2.x and 3.x
- Patch Available