hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6032) -rollingUpgrade query hits NPE after the NN restarts
Date Fri, 28 Feb 2014 01:13:19 GMT
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

View raw message