hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Andrade <...@eurotux.com>
Subject Fw: Hadoop 2 Namenode HA not working properly
Date Fri, 24 Jan 2014 14:40:40 GMT


Begin forwarded message:

Date: Tue, 21 Jan 2014 09:35:23 +0000
From: Bruno Andrade <bma@eurotux.com>
To: user@hadoop.apache.org
Subject: Re: Hadoop 2 Namenode HA not working properly


Hey,

this is my hdfs-site.xml -> http://pastebin.com/qpELkwH8
this is my core-site.xml:

<configuration>
     <property>
         <name>fs.defaultFS</name>
         <value>hdfs://blabla-hadoop</value>
     </property>

     <property>
         <name>hadoop.tmp.dir</name>
         <value>/opt/hadoop/hadoop/tmp</value>
     </property>
</configuration>

I kill only the namenode process and nothing happen, then I killed zkfc 
process and the transition happend, the second namenode become active.

Thanks.



On 01/20/2014 06:44 PM, Jing Zhao wrote:
> Hi Bruno,
>
>      Could you post your configuration? Also, when you killed one of
> the NN, you mean only killing the NN process or you shutdown the whole
> machine?
>
> Thanks,
> -Jing
>
> On Mon, Jan 20, 2014 at 4:11 AM, Bruno Andrade <bma@eurotux.com>
> wrote:
>> Hey,
>>
>> I have configured a Hadoop v2.2.0 cluster with QJM and Zookeeper for
>> HA and automatic failover.
>> But I'm having a problem. If I test the automatic failover, by
>> killing one of the namenodes, nothing happens. But if I kill the
>> zkfc of that namenode, then zookeeper elects the other namenode as
>> active.
>>
>> What can it be the problem?
>>
>> Thanks.
>>
>> --
>> Bruno Andrade <bma@eurotux.com>
>> Programador (I&D)
>> Eurotux Informática, S.A. | www.eurotux.com
>> (t) +351 253 680 300 (m) +351 936 293 858

-- 
Bruno Andrade <bma@eurotux.com>
Programador (I&D)
Eurotux Informática, S.A. | www.eurotux.com
(t) +351 253 680 300 (m) +351 936 293 858



-- 
Bruno Andrade <bma@eurotux.com>
Programador (I&D)
Eurotux Informática, S.A. | www.eurotux.com
(t) +351 253 680 300 (m) +351 936 293 858

Mime
View raw message