Support Questions
Find answers, ask questions, and share your expertise

failover is not fired when active name node crashes

failover is not fired when active name node crashes

I am using Apache Hadoop-2.7.1 on cluster that consists of three nodes

nn1 master name node

nn2 (second name node)

dn1 (data node)

i have configured high availability,and nameservice and zookeeper is working in all three nodes and it is started on nn2 as leader

first of all i have to mention that nn1 is active and nn2 is stand by

when i kill name node on nn1

,nn2 becomes active so automatic fail over is happening

but with the following scenario (which i apply when nn1 is active and nn2 is standby)and which is :

when i turn off nn1 (nn1 whole crashing)

nn2 stay stand by and doesn't become active so automatic failover is not happening

with noticeable error in log

Unable to trigger a roll of the active NN(which was nn1 and now it is closed ofcourse)

shouldn't automatic fail over happens with two existing journal nodes on nn2 and dn1

and what could be possible reasons ?

1 REPLY 1
Highlighted

Re: failover is not fired when active name node crashes

Don't have an account?