Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 83927 invoked from network); 6 Nov 2009 12:03:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 12:03:44 -0000 Received: (qmail 15396 invoked by uid 500); 6 Nov 2009 12:03:42 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 15319 invoked by uid 500); 6 Nov 2009 12:03:41 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 15306 invoked by uid 99); 6 Nov 2009 12:03:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 12:03:41 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 12:03:31 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id CE1B4B7F83 for ; Fri, 6 Nov 2009 12:03:10 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MTTT+reZfdQL for ; Fri, 6 Nov 2009 12:03:03 +0000 (GMT) Received: from 0-imap-br1.hpl.hp.com (0-imap-br1.hpl.hp.com [16.25.144.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id EED39B7F6F for ; Fri, 6 Nov 2009 12:03:02 +0000 (GMT) MailScanner-NULL-Check: 1258113772.91003@o6dR8NdNmNBalP5dl+3rBA Received: from [16.25.175.158] (morzine.hpl.hp.com [16.25.175.158]) by 0-imap-br1.hpl.hp.com (8.14.1/8.13.4) with ESMTP id nA6C2pue003288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 Nov 2009 12:02:52 GMT Message-ID: <4AF4106B.7000101@apache.org> Date: Fri, 06 Nov 2009 12:02:51 +0000 From: Steve Loughran User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: common-user@hadoop.apache.org Subject: Re: NPE while starting NameNode References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: nA6C2pue003288 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Sumit Shangari wrote: > I am trying to set up Hadoop on Linux Box. > > Upon running start-all.sh following null pointer exception is being thrown > in NameNode and dataNode logs. > > 2008-09-30 18:14:07,565 ERROR > org.apache.hadoop.hdfs.server.datanode.DataNode: > java.lang.NullPointerException > I Have already set fs.default.name IN CORE-SITE.XML > > fs.dafault.name > hdfs://localhost:9000 > > After spending some time on google regarding this issue,it looks like I am > missing some configuration . It would be good if hadoop failed more gracefully -in the meantime spell default correctly in the property and it may work better