Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> run hadoop in standalone mode


+
yiyu jia 2013-01-18, 06:12
+
feng lu 2013-01-18, 06:27
Copy link to this message
-
Re: run hadoop in standalone mode
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 <[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:
>
>> 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... :-)
>