Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 47848 invoked from network); 8 Mar 2006 00:56:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Mar 2006 00:56:16 -0000 Received: (qmail 73228 invoked by uid 500); 8 Mar 2006 00:56:16 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 73207 invoked by uid 500); 8 Mar 2006 00:56:15 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 73196 invoked by uid 99); 8 Mar 2006 00:56:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 16:56:15 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 16:56:15 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id 52EB66ACA9 for ; Wed, 8 Mar 2006 00:55:54 +0000 (GMT) Message-ID: <342383636.1141779354330.JavaMail.jira@ajax> Date: Wed, 8 Mar 2006 00:55:54 +0000 (GMT) From: "Bryan Pendleton (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-69) Unchecked lookup value causes NPE in FSNamesystemgetDatanodeHints In-Reply-To: <619464289.1141779100144.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-69?page=all ] Bryan Pendleton updated HADOOP-69: ---------------------------------- Attachment: patch.txt Check for null value after looking up blocks (ie, no known node has the block). Should prevent the NPE. The correct value (no hints for unfound blocks) is returned. > Unchecked lookup value causes NPE in FSNamesystemgetDatanodeHints > ----------------------------------------------------------------- > > Key: HADOOP-69 > URL: http://issues.apache.org/jira/browse/HADOOP-69 > Project: Hadoop > Type: Bug > Components: dfs > Reporter: Bryan Pendleton > Attachments: patch.txt > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira