hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sivaram RL <sivaram...@gmail.com>
Subject Re: Datanode doesn't connect to Namenode
Date Wed, 07 Aug 2013 17:40:01 GMT
Hi ,

your configuration  of Datanode shows

 <name>fs.default.name</name>
  <value>hdfs://cloud15:54310</value>

But you have said Namenode is configured on master (cloud6). Can you check
the configuration again ?


Regards,
Sivaram R L


On Wed, Aug 7, 2013 at 10:29 PM, Felipe Gutierrez <
felipe.o.gutierrez@gmail.com> wrote:

> Hi everyone,
>
> My slave machine (cloud15) the datanode shows this log. It doesn't connect
> to the master (cloud6).
>
> 2013-08-07 13:44:03,110 INFO org.apache.hadoop.ipc.Client: Retrying
> connect to server: cloud15/192.168.188.15:54310. Already tried 9 time(s);
> retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1 SECONDS)
> 2013-08-07 13:44:03,110 INFO org.apache.hadoop.ipc.RPC: Server at cloud15/
> 192.168.188.15:54310 not available yet, Zzzzz...
>
> But when I type jps command on slave machine DataNode is running. This is
> my file core-site.xml in slave machine (cloud15):
> <configuration>
> <property>
>   <name>hadoop.tmp.dir</name>
>   <value>/app/hadoop/tmp</value>
>   <description>A base for other temporary directories.</description>
> </property>
>
> <property>
>   <name>fs.default.name</name>
>   <value>hdfs://cloud15:54310</value>
>   <description>The name of the default file system.  A URI whose
>   scheme and authority determine the FileSystem implementation.  The
>   uri's scheme determines the config property (fs.SCHEME.impl) naming
>   the FileSystem implementation class.  The uri's authority is used to
>   determine the host, port, etc. for a filesystem.</description>
> </property>
> </configuration>
>
> In the master machine I just swap cloud15 to cloud6.
> In the file /etc/host I have (192.168.188.15  cloud15) and (192.168.188.6
>   cloud6) lines, and both machines access through ssh with out password.
>
> Am I missing anything?
>
> Thanks in advance!
> Felipe
>
>
> --
> *--
> -- Felipe Oliveira Gutierrez
> -- Felipe.o.Gutierrez@gmail.com
> -- https://sites.google.com/site/lipe82/Home/diaadia*
>

Mime
View raw message