Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 78403 invoked from network); 26 Mar 2007 09:05:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 09:05:07 -0000 Received: (qmail 60590 invoked by uid 500); 26 Mar 2007 09:05:14 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 60239 invoked by uid 500); 26 Mar 2007 09:05:14 -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 Received: (qmail 60230 invoked by uid 99); 26 Mar 2007 09:05:13 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of get2thachopper@gmail.com designates 64.233.162.230 as permitted sender) Received: from [64.233.162.230] (HELO nz-out-0506.google.com) (64.233.162.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 02:05:12 -0700 Received: by nz-out-0506.google.com with SMTP id i1so1433706nzh for ; Mon, 26 Mar 2007 02:03:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EffPAeQYSMs66aezE3sHf4823LS3tLoisDFD1VEeo54F9r8VYKEI7rTeLoBYYVtI4mg+QKOi7MkYVzubFdzQDT6SE0x/Wf6rkg6MijUWr/xsw8QzMLwMR3/AiM5S4ZB40s6uTuorOEmVrETEv/bXTyKz7kdc9V5T9XBXeBv3PkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rWmoDWJgKwfpHdwQsagLHnNwksxv9dlzn+xre214U+uceug47A2ale3Cv+QtKpRKISSAjthtptV1CDmpm+7SRYLWd8/23KOC/Bd8zLDugMrsTSRnW0pqHjEViGldGIUWCLH7d0YnHX3RdZ02AxfzUyqU2VIrY5o74uUMemBvPbw= Received: by 10.114.194.1 with SMTP id r1mr2546755waf.1174899823920; Mon, 26 Mar 2007 02:03:43 -0700 (PDT) Received: by 10.114.184.2 with HTTP; Mon, 26 Mar 2007 02:03:43 -0700 (PDT) Message-ID: <1813a0570703260203m3de83c9aif12a5ec83c588f28@mail.gmail.com> Date: Mon, 26 Mar 2007 02:03:43 -0700 From: "Tiger Uppercut" To: hadoop-user@lucene.apache.org Subject: Re: setting up hadoop on a single node, vanilla arguments In-Reply-To: <46078015.3010202@anyware-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1813a0570703260027o2adb6c7ei1d123aa8a5607f3b@mail.gmail.com> <46078015.3010202@anyware-tech.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Philippe. Yeah, sorry, I should I have mentioned that I tried using the hostname of my machine first, so I had the following hadoop-site.xml settings. fs.default.name tiger.stanford.edu:9000 mapred.job.tracker tiger.stanford.edu:9001 But that still didn't work: tiger$ bin/hadoop jar hadoop-0.12.2-examples.jar wordcount input_dir output= _dir 07/03/26 01:57:25 INFO ipc.Client: Retrying connect to server: tiger.stanford.edu/ xx.yy.zz.aa:9000. Already tried 1 time(s). ... xx.yy.zz.aa:9000. Already tried 10 time(s). java.lang.RuntimeException: java.net.ConnectException: Connection refused Separately Arun - I did have passphrase-less ssh enabled on this machine. i.e., I executed: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys On 3/26/07, Philippe Gassmann wrote: > Hi, > > Tiger Uppercut a =E9crit : > > > > > > > > fs.default.name > > localhost:9000 > > > > > > > > > > > > mapred.job.tracker > > localhost:9001 > > > > > For the fs.default.name and the mapred.job.tracker try to use the > hostname of your machine instead of localhost. When using > localhost:XXXX, hadoop servers are listen to the loopback interface. But > mapreduce jobs (I do not know exactly where) are seeing that the > connections to tasktrackers are issued using the 127.0.0.1 and are > trying to reverse dns the adress. Your system will not return localhost > but the real name of your machine. In most linux system, that name is > binded to an ethernet interface so jobs will try to connect to that > interface instead of the loopback one. > > > > > > > dfs.name.dir > > /some_dir/hadoop/hadoop_data > > > > > > > >