Hi, This executable comes with JDK bundle. You can find this in your jdk/bin directory.
Regards Jitendra On Fri, May 31, 2013 at 5:11 PM, shashwat shriparv < [email protected]> wrote: > C:\Program: command not found ?????? > > From where are you running this command is you hadoop is in windows or > linux????? > > *Thanks & Regards * > > ∞ > Shashwat Shriparv > > > > On Fri, May 31, 2013 at 4:18 PM, 王洪军 <[email protected]> wrote: > >> $jps >> conform jobtracker is running( namenode and datanode is also needed ) >> >> >> 2013/5/31 Jagat Singh <[email protected]> >> >>> 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 <[email protected]>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 < >>>> [email protected]> 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.<init>(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 >>>>> >>>>> >>>> >>>> >>> >> >
