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)

Reply via email to