hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王洪军 <wanghj...@gmail.com>
Subject Re: hi
Date Fri, 31 May 2013 10:48:50 GMT
$jps
conform jobtracker is running( namenode and datanode is also needed )


2013/5/31 Jagat Singh <jagatsingh@gmail.com>

> 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 <dontariq@gmail.com>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.<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
>>>
>>>
>>
>>
>

Mime
View raw message