Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 48757 invoked from network); 15 Feb 2007 01:16:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 01:16:55 -0000 Received: (qmail 49337 invoked by uid 500); 15 Feb 2007 01:17:02 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 49308 invoked by uid 500); 15 Feb 2007 01:17:02 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Delivered-To: moderator for hadoop-user@lucene.apache.org Received: (qmail 44083 invoked by uid 99); 15 Feb 2007 01:14:29 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ecoder@gmail.com designates 66.249.82.229 as permitted sender) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=E3snuxoVN5sqbcx6hwaKlzYEb/w1owXII+g3lMtuI6smp1ovGTQW30qrDmnITW2NCeNNR73iyzM5ltRuwmuyulkHkMWc8pSyKpndWDTIFVVz441zoQDelHDJnKXQX2trY6BRRU3/7GC3pvOwC3Hf7qUGB43sP+Od6JmxlxDin64= Message-ID: Date: Wed, 14 Feb 2007 20:13:58 -0500 From: "Eugene Weinstein" Sender: ecoder@gmail.com To: hadoop-user@lucene.apache.org Subject: Re: Trying to bind to port -1 In-Reply-To: <45D3B250.6040406@yahoo-inc.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_132316_18380749.1171502038363" References: <45D3B250.6040406@yahoo-inc.com> X-Google-Sender-Auth: d884be5b57fba19b X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_132316_18380749.1171502038363 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, that worked. Sorry, it does say to do this on the wiki. Also, sorry if my message got posted twice. Eugene On 2/14/07, David Bowen wrote: > > > Did you set fs.default.name in hadoop-site.xml? The default is > "file:///" which causes the exception that you are getting. > > You can use the old style e.g. "localhost:8020" or new-style > "hdfs://localhost:8020/". > > - David > > Eugene Weinstein wrote: > > Hi there, > > > > I'm a new user of Hadoop and I am having trouble getting the single-node > > cluster to run. I'm following the instructions on the wiki, but I'm > > getting > > the following error in the log file: > > > > 2007-02-14 19:36:34,887 ERROR org.apache.hadoop.dfs.DataNode: > > java.lang.IllegalArgumentException: port out of range:-1 > > at java.net.InetSocketAddress.(InetSocketAddress.java:118) > > at org.apache.hadoop.dfs.DataNode.createSocketAddr(DataNode.java > > :104) > > at org.apache.hadoop.dfs.DataNode.(DataNode.java:178) > > at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java > :1133) > > at org.apache.hadoop.dfs.DataNode.run(DataNode.java:1061) > > at org.apache.hadoop.dfs.DataNode.runAndWait(DataNode.java:1091) > > at org.apache.hadoop.dfs.DataNode.main(DataNode.java:1255) > > > > I think maybe what's happening is that Hadoop is not finding the > > hadoop-default.xml file and the -1 is a default value. In fact, when I > > move > > hadoop-default.xml into a different location, the output is the same. > > I have > > followed the instructions on the wiki with regard to setting environment > > variables and everything else. If anybody knows how to fix this, > > please let > > me know. > > > > Thanks, > > Eugene > > > > ------=_Part_132316_18380749.1171502038363--