yiyu jia 2013-01-18, 06:12
feng lu 2013-01-18, 06:27
-Re: run hadoop in standalone mode
Mohammad Tariq 2013-01-18, 06:38
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.
On Fri, Jan 18, 2013 at 11:57 AM, feng lu <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>> 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,
> Don't Grow Old, Grow Up... :-)