Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 73702 invoked from network); 9 Oct 2009 21:42:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 21:42:55 -0000 Received: (qmail 6092 invoked by uid 500); 9 Oct 2009 21:42:55 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 6029 invoked by uid 500); 9 Oct 2009 21:42:55 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 6019 invoked by uid 99); 9 Oct 2009 21:42:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 21:42:55 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 21:42:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53DEA234C1EE for ; Fri, 9 Oct 2009 14:42:31 -0700 (PDT) Message-ID: <775213930.1255124551281.JavaMail.jira@brutus> Date: Fri, 9 Oct 2009 14:42:31 -0700 (PDT) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-676) NPE in FSDataset.updateReplicaUnderRecovery(..) In-Reply-To: <980014416.1254774451434.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764214#action_12764214 ] Suresh Srinivas commented on HDFS-676: -------------------------------------- After discussing with Konstantin, I understand that the problem is fixed by changes in FSDataSet.updateReplicaUnderRecovery(). +1 for the patch. > 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.