hadoop-hdfs-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/HDFS-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haohui Mai updated HDFS-6032:
-----------------------------

    Attachment: HDFS-6032.000.patch

> -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)

Mime
View raw message