Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 85348 invoked from network); 16 Jul 2007 10:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jul 2007 10:21:48 -0000 Received: (qmail 288 invoked by uid 500); 16 Jul 2007 10:21:49 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 156 invoked by uid 500); 16 Jul 2007 10:21:49 -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 143 invoked by uid 99); 16 Jul 2007 10:21:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2007 03:21:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [82.140.109.53] (HELO caesar.e-legion.com) (82.140.109.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2007 03:21:39 -0700 Content-class: urn:content-classes:message Subject: RE: Trying to run nutch: no address associated with name MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Jul 2007 14:21:09 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <410ACBBB22A25A4CAE7D1ABC316125D00EEE12@caesar.elegion.local> In-Reply-To: <46965D4C.30605@apache.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Trying to run nutch: no address associated with name Thread-index: AcfEpbB/FzuQZU/pQVuy3oaFCFL8wgC7PPqw References: <410ACBBB22A25A4CAE7D1ABC316125D00EEDC8@caesar.elegion.local> <46965D4C.30605@apache.org> From: "Ilya Vishnevsky" To: X-Virus-Checked: Checked by ClamAV on apache.org Well, I've tried with the following slaves file: thanatos morpheus but the result is the same. -----Original Message----- From: Doug Cutting [mailto:cutting@apache.org]=20 Sent: Thursday, July 12, 2007 8:57 PM To: hadoop-user@lucene.apache.org Subject: Re: Trying to run nutch: no address associated with name In the slaves file, 'localhost' should only be used alone, not with=20 other hosts, since 'localhost' is not a name that other hosts can use to refer to a host. It's equivalent to 127.0.0.1, the loopback address.=20 So, if you're specifying more than one host, it's best to use real=20 hostnames or IP addresses. Doug Ilya Vishnevsky wrote: > Hello! I'm trying to run nutch on two computers. Here is content of my > "slaves" file: >=20 > localhost > morpheus >=20 > When I type bin/start-al.sh, I get the next output: >=20 > starting namenode, logging to > /nutch/search/logs/hadoop-nutch-namenode-Thanatos.out > localhost > : ssh: localhost > : no address associated with name > morpheus: starting datanode, logging to > /nutch/search/logs/hadoop-nutch-datanode-morpheus.out > starting jobtracker, logging to > /nutch/search/logs/hadoop-nutch-jobtracker-Thanatos.out > localhost > : ssh: localhost > : no address associated with name > morpheus: starting tasktracker, logging to > /nutch/search/logs/hadoop-nutch-tasktracker-morpheus.out >=20 >=20 > It seems like it for some reason nutch can't run datanode and > tasktracker on localhost (thanatos). >=20 > At the same time if I have only localhost in my "slaves" file, I get the > following output: >=20 > starting namenode, logging to > /nutch/search/logs/hadoop-nutch-namenode-Thanatos.out > localhost: starting datanode, logging to > /nutch/search/logs/hadoop-nutch-datanode-Thanatos.out > starting jobtracker, logging to > /nutch/search/logs/hadoop-nutch-jobtracker-Thanatos.out > localhost: starting tasktracker, logging to > /nutch/search/logs/hadoop-nutch-tasktracker-Thanatos.out >=20 > I.e. all nodes and trackers are run properly. > Why can it be? >=20 > Here is content of my hadoop-site.xml: >=20 >=20 > > >=20 > >=20 > >=20 > > fs.default.name > localhost:50010 > > The name of the default file system. Either the literal string=20 > "local" or a host:port for NDFS. > > >=20 > > mapred.job.tracker > local > > The host and port that the MapReduce job tracker runs at. If=20 > "local", then jobs are run in-process as a single map and=20 > reduce task. > > >=20 > =20 > mapred.map.tasks > 2 > > define mapred.map tasks to be number of slave hosts > =20 > =20 >=20 > =20 > mapred.reduce.tasks > 2 > > define mapred.reduce tasks to be number of slave hosts > =20 > =20 >=20 > > dfs.name.dir > c:/cygwin/nutch/filesystem/name > >=20 > > dfs.data.dir > c:/cygwin/nutch/filesystem/data > >=20 > > mapred.system.dir > /nutch/filesystem/mapreduce/system > >=20 > > mapred.local.dir > /nutch/filesystem/mapreduce/local > >=20 > > dfs.replication > 1 > >=20 >