[ https://issues.apache.org/jira/browse/HDFS-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao resolved HDFS-6032. ----------------------------- Resolution: Fixed > -rollingUpgrade query hits NPE after the NN restarts > ---------------------------------------------------- > > Key: HDFS-6032 > URL: https://issues.apache.org/jira/browse/HDFS-6032 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, ha, hdfs-client, namenode > Affects Versions: HDFS-5535 (Rolling upgrades) > Reporter: Haohui Mai > Assignee: Haohui Mai > Attachments: HDFS-6032.000.patch > > > {{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. -- This message was sent by Atlassian JIRA (v6.1.5#6160)