Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 62777 invoked from network); 12 Jan 2010 02:03:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2010 02:03:48 -0000 Received: (qmail 54475 invoked by uid 500); 12 Jan 2010 02:03:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 54406 invoked by uid 500); 12 Jan 2010 02:03:48 -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 54396 invoked by uid 99); 12 Jan 2010 02:03:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 02:03:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 12 Jan 2010 02:03:37 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A77A429A0011 for ; Mon, 11 Jan 2010 18:02:57 -0800 (PST) Message-ID: <1036909211.169861263261777684.JavaMail.jira@brutus.apache.org> Date: Tue, 12 Jan 2010 02:02:57 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-885) Datanode toString() NPEs on null dnRegistration In-Reply-To: <1605169084.126681262975034428.JavaMail.jira@brutus.apache.org> 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-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798996#action_12798996 ] Hudson commented on HDFS-885: ----------------------------- Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #94 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/94/]) . Datanode toString() NPEs on null dnRegistration. > Datanode toString() NPEs on null dnRegistration > ----------------------------------------------- > > Key: HDFS-885 > URL: https://issues.apache.org/jira/browse/HDFS-885 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 0.22.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Fix For: 0.22.0 > > Attachments: HDFS-885.patch > > > {{Datanode toString() }} assumes the {{dnRegistration}} value is never null. This is not always true, and when it is not the case, the {{toString()}} operator NPEs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.