Return-Path: Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: (qmail 57310 invoked from network); 25 Nov 2010 05:24:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 05:24:03 -0000 Received: (qmail 35067 invoked by uid 500); 25 Nov 2010 05:24:34 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 34936 invoked by uid 500); 25 Nov 2010 05:24:32 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 34927 invoked by uid 99); 25 Nov 2010 05:24:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 05:24:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of patodirahul@gmail.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-ww0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 05:24:25 +0000 Received: by wwb22 with SMTP id 22so138228wwb.5 for ; Wed, 24 Nov 2010 21:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=rdWtj0I1Ncz+0ThFusEG6nLBLg8Q80Bc3nybEIIbc38=; b=A75rB7aIsbqIC0b0GP/Fz7KEJn9pEovpbkvKHc5ayEsfpnbnYlF/8ddzrV5Jq4Sl2M X5McSJ/Rs9sZyT4ytHJSDHnpX56z5UHOsUf49MTPB8LToIgz1fs4pc2iPNW/Z2EBomZz F1VwUPpoob9/Cn9ZofpuBJX1kUSURuUp97U/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Bw6RJxOqtUUiCLZkgy1/GY67H8AQBof5ruSOjHWM2uBQWGQ/yim1jZl3wXHj7ZaFGK UOoQ+oz9A9yEuV2Z3dFq/tEKHDgMVtkjcvuaa4uMP/IeHXLJUbguZ6DzEJx5FdWginvL 7oR4Y4kZbBW0GFmcfZGqHnR5QBspaUoTBPjKM= MIME-Version: 1.0 Received: by 10.216.87.5 with SMTP id x5mr234467wee.61.1290662643733; Wed, 24 Nov 2010 21:24:03 -0800 (PST) Received: by 10.216.131.197 with HTTP; Wed, 24 Nov 2010 21:24:03 -0800 (PST) In-Reply-To: References: Date: Thu, 25 Nov 2010 10:54:03 +0530 Message-ID: Subject: Re: TaskTracker Error From: rahul patodi To: mapreduce-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e6db2d7b67967d0495d9d015 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db2d7b67967d0495d9d015 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable also check your other file like /etc/hosts On Thu, Nov 25, 2010 at 10:36 AM, rahul patodi wrote= : > i think you should check your configuration file in the conf folder and a= dd > the required entry in > core-site.xml, mapred-site.xml and hdfs-site.xml > for pseudo distributed mode you can refer: > http://hadoop-tutorial.blogspot.com/2010/11/running-hadoop-in-pseudo-dist= ributed.html > for distributed mode you can refer: > http://hadoop-tutorial.blogspot.com/2010/11/running-hadoop-in-distributed= -mode.html > > if you are using cloudera you can refer: > http://cloudera-tutorial.blogspot.com/ > > if you have any problem please leave a comment > > > -- > -Thanks and Regards, > Rahul Patodi > Associate Software Engineer, > Impetus Infotech (India) Private Limited, > www.impetus.com > Mob:09907074413 > > On Thu, Nov 25, 2010 at 10:23 AM, =E7=A5=9D=E7=BE=8E=E7=A5=BA wrote: > >> Hi , >> i am using 0.20.2.. when i try to start hadoop,the namenode ,datano= de >> works will ,but i can't submit jobs.i look at the logs ,and find >> the error like: >> >> 2010-11-25 12:38:02,623 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 0 time(s). >> 2010-11-25 12:38:03,626 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 1 time(s). >> 2010-11-25 12:38:04,627 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 2 time(s). >> 2010-11-25 12:38:05,629 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 3 time(s). >> 2010-11-25 12:38:06,631 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 4 time(s). >> 2010-11-25 12:38:07,636 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 5 time(s). >> 2010-11-25 12:38:08,641 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 6 time(s). >> 2010-11-25 12:38:09,644 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 7 time(s). >> 2010-11-25 12:38:10,645 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 8 time(s). >> 2010-11-25 12:38:11,649 INFO org.apache.hadoop.ipc.Client: Retrying >> connect to server: localhost/127.0.0.1:9000. Already tried 9 time(s). >> 2010-11-25 12:38:11,651 ERROR org.apache.hadoop.mapred.TaskTracker: Caug= ht >> exception: java.net.ConnectException: Call to localhost/127.0.0.1:9000fa= iled on connection exception: java.net.ConnectException: Connection >> refused >> at org.apache.hadoop.ipc.Client.wrapException(Client.java:767) >> at org.apache.hadoop.ipc.Client.call(Client.java:743) >> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) >> at $Proxy5.getProtocolVersion(Unknown Source) >> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359) >> at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106= ) >> at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:207) >> at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:170) >> at >> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileS= ystem.java:82) >> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378= ) >> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) >> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390) >> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196) >> at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175) >> at >> org.apache.hadoop.mapred.TaskTracker.offerService(TaskTracker.java:1033) >> at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:1720) >> at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2833) >> Caused by: java.net.ConnectException: Connection refused >> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) >> at >> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592) >> at >> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.ja= va:206) >> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404) >> at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:30= 4) >> at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176) >> at org.apache.hadoop.ipc.Client.getConnection(Client.java:860) >> at org.apache.hadoop.ipc.Client.call(Client.java:720) >> ... 15 more >> >> Who can tell me how to solve this problem? >> >> > > > --0016e6db2d7b67967d0495d9d015 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable also check your other file like /etc/hosts

On Thu, Nov 25, 2010 at 10:36 AM, rahul patodi <patodirahul@gmail.com> w= rote:
i think you should check your configur= ation file in the conf folder and add the required entry in
core= -site.xml, mapred-site.xml and hdfs-site.xml

=C2=A0if you are using cloudera you can refer: http://cloude= ra-tutorial.blogspot.com/

if you have any = problem please leave a comment


--
-Thanks and Regards,
=
Rahul Patodi
Associate Software Engineer,
<= div>Impetus Infotech (India) Private Limited,
Mob:09907074413
=

On T= hu, Nov 25, 2010 at 10:23 AM, =E7=A5=9D=E7=BE=8E=E7=A5=BA <henhaozh= umeiqi@gmail.com> wrote:
Hi ,
=C2=A0=C2=A0 =C2=A0 i am using 0.20= .2.. when i try to start hadoop,the namenode ,datanode works will ,but i ca= n't submit jobs.i look at the logs ,and find
=C2=A0the error like:

2010-11-25 12:38:02,623 = INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Alrea= dy tried 0 time(s).
2010-11-25 12:38:03,626 INFO org.apache.hadoop.ipc.Client: Retrying co= nnect to server: localhost/127.0.0.1:9000. Already tried 1 time(s).
2010-11-25 12:38= :04,627 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: loca= lhost/127.0.0.1:9000. Already tried 2 time(s).
2010-11-25 12:38= :06,631 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: loca= lhost/127.0.0.1:9000. Already tried 4 time(s).
2010-11-25 12:38= :08,641 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: loca= lhost/127.0.0.1:9000. Already tried 6 time(s).
2010-11-25 12:38= :10,645 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: loca= lhost/127.0.0.1:9000. Already tried 8 time(s).
2010-11-25 12:38= :11,651 ERROR org.apache.hadoop.mapred.TaskTracker: Caught exception: java.= net.ConnectException: Call to localhost/127.0.0.1:9000 failed on connection exception: java.ne= t.ConnectException: Connection refused
at org.apache.hadoop.ipc.= Client.wrapException(Client.java:767)
at org.apache.hadoop.ipc.Client.call(Client.java:743)
at org.apache.hadoop.ipc.= RPC$Invoker.invoke(RPC.java:220)
at $Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.ipc.= RPC.getProxy(RPC.java:359)
= at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java= :106)
at org.apache.hadoop.hdfs= .DFSClient.<init>(DFSClient.java:207)
at org.apache.hadoop.hdfs.DFSClient.<init>(DF= SClient.java:170)
at org.apache.hadoop.hdfs= .DistributedFileSystem.initialize(DistributedFileSystem.java:82)
= at org.apache.hadoop.fs.FileSy= stem.createFileSystem(FileSystem.java:1378)
at org.apache.hadoop.fs.F= ileSystem.access$200(FileSystem.java:66)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSyste= m.java:1390)
at org.apache.hadoop.fs.F= ileSystem.get(FileSystem.java:196)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
at org.apache.hadoop.mapr= ed.TaskTracker.offerService(TaskTracker.java:1033)
at org.apache.hadoop.mapred.TaskTracker.run(= TaskTracker.java:1720)
at org.apache.hadoop.mapr= ed.TaskTracker.main(TaskTracker.java:2833)
Caused by: java.net.Co= nnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)<= /div>
at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:592)
at org.apache.hadoop.net.SocketIOWithTimeout.c= onnect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.= NetUtils.connect(NetUtils.java:404)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(C= lient.java:304)
at org.apache.hadoop.ipc.= Client$Connection.access$1700(Client.java:176)
at org.apache.hadoop.ipc.Client.getConnection(Cl= ient.java:860)
at org.apache.hadoop.ipc.= Client.call(Client.java:720)
... 15 more

Who can tell me how to solve this problem?







--0016e6db2d7b67967d0495d9d015--