hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <static.void....@gmail.com>
Subject Re: Error starting namenode
Date Thu, 09 Sep 2010 16:53:27 GMT
  Fedora actually

On 9/9/10 2:20 AM, Steve Loughran wrote:
> On 09/09/10 06:28, Mark wrote:
>> I am getting the following errors from my datanodes when I start the
>> namenode.
>>
>> 2010-09-08 14:17:40,690 INFO org.apache.hadoop.ipc.RPC: Server at
>> hadoop1/10.XXX.XXX.XX:9000 not available yet, Zzzzz...
>> 2010-09-08 14:17:42,690 INFO org.apache.hadoop.ipc.Client: Retrying
>> connect to server: hadoop1/10.XXX.XXX.XX:9000. Already tried 0 time(s).
>> 2010-09-08 14:17:43,691 INFO org.apache.hadoop.ipc.Client: Retrying
>> connect to server: hadoop1/10.XXX.XXX.XX:9000. Already tried 1 time(s).
>> 2010-09-08 14:17:44,691 INFO org.apache.hadoop.ipc.Client: Retrying
>> connect to server: hadoop1/10.XXX.XXX.XX:9000. Already tried 2 time(s).
>> 2010-09-08 14:17:45,692 INFO org.apache.hadoop.ipc.Client: Retrying
>> connect to server: hadoop1/10.XXX.XXX.XX:9000. Already tried 3 time(s).
>> ....
>>
>> If I remove the following line from /etc/hosts then the datanodes will
>> be able to connect:
>>
>> 127.0.0.1 localhost.localdomain localhost hadoop1
>>
>> Can someone explain why this is happening? I feel like I shouldn't have
>> to alter my hosts file to get this up and running.
>>
>
> That's an ubuntu machine, isn't it?
>>
>
> seen that
> http://www.1060.org/blogxter/entry?publicid=121ED68BB21DB8C060FE88607222EB52 
>
>
> I think someone decided patching up the local hostname to map to 
> 127.0.0.1 was useful for laptops, but it stops your machines being 
> visible over the network.
>
> Edit /etc/hosts and recognise that many of the features that make 
> ubuntu a good desktop Linux (good device support, power management, 
> laptop-friendly etc), make it a weak server linux (unstable, too 
> biased towards laptops on unmanaged networks)

Mime
View raw message