Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D106BF726 for ; Fri, 31 May 2013 10:49:24 +0000 (UTC) Received: (qmail 56742 invoked by uid 500); 31 May 2013 10:49:19 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 56503 invoked by uid 500); 31 May 2013 10:49:18 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 56352 invoked by uid 99); 31 May 2013 10:49:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 10:49:18 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wanghj966@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 10:49:10 +0000 Received: by mail-wg0-f41.google.com with SMTP id k13so574052wgh.4 for ; Fri, 31 May 2013 03:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tpOPenzaSI14TmNL+wGWdcB9KiapwriFGi+2ZCPRTIY=; b=rcGydZsMwJspqWzGPV7jA3kED8/3QI78C9AnwSUYJZtFSSSrETyX1nVnsYAb1p4Zbt ZQdpRJ+tvoZnHhxysjbbhk9jsIPTQaD2ypkOL087KI+Tt6cMmjZ07qgWoqrQTH45lKys 4eKg5t0hSuUeNgW30KnCeW/trFlF/RQuoyPse1RhTEV4QPIymv17SZuYV62Wo1CuVvlE pRENks5gk/Tin8CtefEt/6HsIf5myIlsnul01RoxgSwHmep4M3iNH3FIxuyYU7dcMQLu 9neHiQ/zalT91k43KUzJ4Bvd6fON1rXwO0xEqrDC9wKd+hqj+2lrK2iLblSJWhbaY4C+ rjZg== MIME-Version: 1.0 X-Received: by 10.194.59.72 with SMTP id x8mr8824850wjq.49.1369997330168; Fri, 31 May 2013 03:48:50 -0700 (PDT) Received: by 10.227.228.144 with HTTP; Fri, 31 May 2013 03:48:50 -0700 (PDT) In-Reply-To: References: <1369993054.60223.YahooMailNeo@web142302.mail.bf1.yahoo.com> Date: Fri, 31 May 2013 18:48:50 +0800 Message-ID: Subject: Re: hi From: =?GB2312?B?zfW66b78?= To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7ba97308353f4a04de015ced X-Virus-Checked: Checked by ClamAV on apache.org --047d7ba97308353f4a04de015ced Content-Type: text/plain; charset=ISO-8859-1 $jps conform jobtracker is running( namenode and datanode is also needed ) 2013/5/31 Jagat Singh > Please run > > $ jps > > This command will show all running Hadoop daemons and then you can find > whats wrong :) > > > > > On Fri, May 31, 2013 at 8:25 PM, Mohammad Tariq wrote: > >> Hello sumit, >> >> Make sure all the Hadoop daemons are running . >> >> Warm Regards, >> Tariq >> cloudfront.blogspot.com >> >> >> On Fri, May 31, 2013 at 3:07 PM, sumit piparsania < >> sumitpiparsania@yahoo.com> wrote: >> >>> Hi, >>> >>> I am new to hadoop. I am facing some issues while executing the below >>> command. >>> Kindly help me resolving this issue. >>> >>> >>> command: bin/hadoop jar hadoop-examples-*.jar grep input output >>> 'dfs[a-z.]+' >>> Error: >>> bin/hadoop: line 320: C:\Program: command not found >>> 13/05/31 12:59:58 INFO ipc.Client: Retrying connect to server: localhost/ >>> 127.0.0.1:9001. Already tried 0 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:00 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 1 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:02 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 2 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:04 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 3 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:06 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 4 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:08 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 5 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:10 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 6 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:12 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 7 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:14 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 8 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> 13/05/31 13:00:16 INFO ipc.Client: Retrying connect to server: >>> localhost/127.0.0.1:9001. Already tried 9 time(s); retry policy is >>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) >>> java.net.ConnectException: Call to localhost/127.0.0.1:9001 failed on >>> connection exception: java.net.ConnectException: Connection refused: no >>> further information >>> at org.apache.hadoop.ipc.Client.wrapException(Client.java:1136) >>> at org.apache.hadoop.ipc.Client.call(Client.java:1112) >>> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229) >>> at org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(Unknown Source) >>> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411) >>> at org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:499) >>> at org.apache.hadoop.mapred.JobClient.init(JobClient.java:490) >>> at org.apache.hadoop.mapred.JobClient.(JobClient.java:473) >>> at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1322) >>> at org.apache.hadoop.examples.Grep.run(Grep.java:69) >>> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) >>> at org.apache.hadoop.examples.Grep.main(Grep.java:93) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) >>> at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) >>> at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at org.apache.hadoop.util.RunJar.main(RunJar.java:156) >>> Caused by: java.net.ConnectException: Connection refused: no further >>> information >>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) >>> at >>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) >>> at >>> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) >>> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:511) >>> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:481) >>> at >>> org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:453) >>> at >>> org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:579) >>> at org.apache.hadoop.ipc.Client$Connection.access$2100(Client.java:202) >>> at org.apache.hadoop.ipc.Client.getConnection(Client.java:1243) >>> at org.apache.hadoop.ipc.Client.call(Client.java:1087) >>> ... 22 more >>> >>> >> >> > --047d7ba97308353f4a04de015ced Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
$jps
conform jobtracker is running( namenode and= datanode is also needed )=A0

2013/5/31 Jagat Singh <jagatsingh@gmail.com= >
Please run=A0

$ jps
=

This command will show all running Hadoop daemons and then you can= find whats wrong :)




On Fri, May 31, 2013 at 8:25 PM, Mohammad Tariq <= dontariq@gmail.com> wrote:
Hello sumit,

=
=A0 =A0 =A0 Make sure all the Hadoop daemons are running .
=

Warm Regards,
Tariq
<= a href=3D"http://cloudfront.blogspot.com" target=3D"_blank">cloudfront.blog= spot.com


On Fri, May 31, 2013 at 3:07 PM, sumit p= iparsania <sumitpiparsania@yahoo.com> wrote:
Hi,
=A0
I am new to hadoop. I am facing s= ome issues while executing the below command.
Kindly help me reso= lving this issue.
=A0
=A0
command: bin/hadoop jar = hadoop-examples-*.jar grep input output 'dfs[a-z.]+'
Error:
bin/hadoop: line 320: C:\Program: command not f= ound
13/05/31 12:59:58 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:00 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:02 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:04 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:06 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:08 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:10 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:12 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:14 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
13/05/31 13:00:16 INFO ipc.Client: Retrying connect to server: l= ocalhost/127.0.0.1:9001= . Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFix= edSleep(maxRetries=3D10, sleepTime=3D1 SECONDS)
java.net.ConnectException: Call to localhost/127.0.0.1:9001 failed on connection ex= ception: java.net.ConnectException: Connection refused: no further informat= ion
at org.apache.hadoop.ipc.Client.wrapException(Client.jav= a:1136)
at org.apache.hadoop.ipc.Client.call(Client.java:1112)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229= )
at org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(U= nknown Source)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)
at org.apache.hadoop.mapred.JobClient.createRPCProxy(Job= Client.java:499)
at org.apache.hadoop.mapred.JobClient.init(JobClient.jav= a:490)
at org.apache.hadoop.mapred.JobClient.<init>(JobCl= ient.java:473)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.j= ava:1322)
at org.apache.hadoop.examples.Grep.run(Grep.java:69)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java= :65)
at org.apache.hadoop.examples.Grep.main(Grep.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M= ethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet= hodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg= atingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.ProgramDriver$ProgramDescripti= on.invoke(ProgramDriver.java:68)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDr= iver.java:139)
at org.apache.hadoop.examples.ExampleDriver.main(Example= Driver.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M= ethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet= hodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg= atingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: java.net.ConnectException: Connection refused: no fur= ther information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChan= nelImpl.java:599)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(Soc= ketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:= 511)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:= 481)
at org.apache.hadoop.ipc.Client$Connection.setupConnecti= on(Client.java:453)
at org.apache.hadoop.ipc.Client$Connection.setupIOstream= s(Client.java:579)
at org.apache.hadoop.ipc.Client$Connection.access$2100(C= lient.java:202)
at org.apache.hadoop.ipc.Client.getConnection(Client.jav= a:1243)
at org.apache.hadoop.ipc.Client.call(Client.java:1087)
... 22 more
=A0



--047d7ba97308353f4a04de015ced--