Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 97438 invoked from network); 9 Oct 2009 23:19:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 23:19:04 -0000 Received: (qmail 1985 invoked by uid 500); 9 Oct 2009 23:19:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 1920 invoked by uid 500); 9 Oct 2009 23:19:04 -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 1910 invoked by uid 99); 9 Oct 2009 23:19:04 -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 23:19:04 +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 23:19:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 54843234C1EE for ; Fri, 9 Oct 2009 16:18:31 -0700 (PDT) Message-ID: <629193679.1255130311331.JavaMail.jira@brutus> Date: Fri, 9 Oct 2009 16:18:31 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Konstantin Shvachko updated HDFS-676: ------------------------------------- Resolution: Fixed Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. > 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.