Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HDFS-5535 (Rolling upgrades)
-
None
-
None
-
Reviewed
Description
NamenodeRpcServer#rollingUpgrade throws an NPE during query after the NN restarts. It complains that the BlockPoolId in RollingUpgradeInfo equals to null.
Further investigation shows that the BlockPoolId remains uninitialized when FSImage#loadFSImage constructs the RollingUpgradeInfo object, leading to the NPE.