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

Switch to Threaded View
HDFS, mail # user - Re: Datanode doesn't connect to Namenode


Copy link to this message
-
Re: Datanode doesn't connect to Namenode
Felipe Gutierrez 2013-08-07, 17:44
yes, in slave I type:
<name>fs.default.name</name>
<value>hdfs://cloud15:54310</value>

in master I type:
<name>fs.default.name</name>
<value>hdfs://cloud6:54310</value>

If I type cloud6 on both configurations, the slave doesn't start.
On Wed, Aug 7, 2013 at 2:40 PM, Sivaram RL <[EMAIL PROTECTED]> wrote:

> 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 <
> [EMAIL PROTECTED]> 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
>> -- [EMAIL PROTECTED]
>> -- https://sites.google.com/site/lipe82/Home/diaadia*
>>
>
>
--
*--
-- Felipe Oliveira Gutierrez
-- [EMAIL PROTECTED]
-- https://sites.google.com/site/lipe82/Home/diaadia*