hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-676) NPE in FSDataset.updateReplicaUnderRecovery(..)
Date Fri, 09 Oct 2009 21:05:31 GMT

    [ https://issues.apache.org/jira/browse/HDFS-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764204#action_12764204
] 

Suresh Srinivas commented on HDFS-676:
--------------------------------------

Is the patch missing DataNode changes?

> NPE in FSDataset.updateReplicaUnderRecovery(..)
> -----------------------------------------------
>
>                 Key: HDFS-676
>                 URL: https://issues.apache.org/jira/browse/HDFS-676
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>    Affects Versions: 0.21.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Shvachko
>             Fix For: 0.21.0
>
>         Attachments: h676_20091005.patch, updateRUR.patch
>
>
> {noformat}
> java.io.IOException: java.lang.NullPointerException
> 	at org.apache.hadoop.hdfs.server.datanode.FSDataset.updateReplicaUnderRecovery(FSDataset.java:2089)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.updateReplicaUnderRecovery(DataNode.java:1598)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	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:516)
> 	...
> {noformat}
> The problem can be reproduced by calling updateReplicaUnderRecovery(blockid) with blockid
not in the volumeMap.

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


Mime
View raw message