hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Tariq <donta...@gmail.com>
Subject Re: run hadoop in standalone mode
Date Fri, 18 Jan 2013 06:38:18 GMT
Hello Yiyu,

      Do you have "127.0.1.1" entry in your /etc/hosts file?
If yes, then change it to "127.0.0.1" and retry.


Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Fri, Jan 18, 2013 at 11:57 AM, feng lu <amuseme.lu@gmail.com> wrote:

> Hi yiyu
>
> do you set the hadoop.tmp.dir in core-site.xml and format the namenode
> with "hadoop namenode format" command? Default the hadoop.tmp.dir the /tmp,
> it will be clear when you restart you computer.
>
>
> On Fri, Jan 18, 2013 at 2:12 PM, yiyu jia <jia.yiyu@gmail.com> wrote:
>
>> Hi,
>>
>> I tried to run hadoop in standalone mode according to hadoop online
>> document. But, I get error message as below. I run command "./bin/hadoop
>> jar hadoop-examples-1.1.1.jar pi 10 100".
>>
>>
>> *13/01/18 01:07:05 INFO ipc.Client: Retrying connect to server:
>> localhost/127.0.0.1:8020. Already tried 9 time(s); retry policy is
>> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
>> java.lang.RuntimeException: java.net.ConnectException: Call to localhost/
>> 127.0.0.1:8020 failed on connection exception:
>> java.net.ConnectException: Connection refused
>> *
>>
>>
>> I disabled ipV6, firewall on my linux machine. But, i still get this
>> error message. localhost is bound with 127.0.01 . core-site.xml and
>> mapreduce-site.xml are empty as they are not modified.
>>
>> Anybody can give me a hint if I need to do some specific configuration to
>> run hadoop in standalone mode?
>>
>> thanks and regards,
>>
>> Yiyu
>>
>>
>
>
> --
> Don't Grow Old, Grow Up... :-)
>

Mime
View raw message