You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2007/04/11 00:56:32 UTC

[jira] Updated: (HADOOP-1241) Null PointerException in processReport when namenode is restarted

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

dhruba borthakur updated HADOOP-1241:
-------------------------------------

    Attachment: unregisteredNodeException.patch

Check that the node is registered before processing a block report from it. Otherwise raise an exception.

> Null PointerException in processReport when namenode is restarted
> -----------------------------------------------------------------
>
>                 Key: HADOOP-1241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1241
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: unregisteredNodeException.patch
>
>
> INFO org.apache.hadoop.ipc.Server: IPC Server handler 0 on 8020 call error: java.io.IOException: java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
>         at org.apache.hadoop.dfs.FSNamesystem.shouldNodeShutdown(FSNamesystem.java:3341)
>         at org.apache.hadoop.dfs.FSNamesystem.processReport(FSNamesystem.java:2075)
>         at org.apache.hadoop.dfs.NameNode.blockReport(NameNode.java:661)
>         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:339)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:573)
> INFO org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.registerDatanode: node registration from xx.xx.xx.xx:50010 storage DS-355824822
> INFO org.apache.hadoop.dfs.NameNode: BLOCK* NameSystem.registerDatanode: node from name: xx.xx.xx.xx:50010
> INFO org.apache.hadoop.net.NetworkTopology: Removing a node: /default-rack/xx.xx.xx.xx:50010
> INFO org.apache.hadoop.net.NetworkTopology: Removing a node: /default-rack/xx.xx.xx.xx:50010

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.