You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2014/02/28 02:13:19 UTC
[jira] [Created] (HDFS-6032) -rollingUpgrade query hits NPE after
the NN restarts
Haohui Mai created HDFS-6032:
--------------------------------
Summary: -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
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)