Can not auto-failover when unplug network interface

2013-12-02 Thread YouPeng Yang
Hi Another auto-failover testing problem: My HA can auto-failover after I kill the active NN.When it comes to the unplug network interface to simulate the hardware fail,the auto-failover seems not to work after wait for times -the zkfc logs as [1]. I'm using the default sshfence.

Re: Can not auto-failover when unplug network interface

2013-12-02 Thread Azuryy Yu
This is still because your fence method configuraed improperly. plseae paste your fence configuration. and double check you can ssh on active NN to standby NN without password. On Tue, Dec 3, 2013 at 10:23 AM, YouPeng Yang yypvsxf19870...@gmail.comwrote: Hi Another auto-failover testing

Re: Can not auto-failover when unplug network interface

2013-12-02 Thread YouPeng Yang
Hi Yu Thanks for your response. I'm sure my ssh setup is good. Ssh from act NN to stanby nn need no password. I attached my config --core-site.xml- configuration property namefs.defaultFS/name valuehdfs://lklcluster/value finaltrue/final /property

Re: Can not auto-failover when unplug network interface

2013-12-02 Thread YouPeng Yang
Hi Yu I think when unplug the nic ,the ssh could not make through because it can not connect to failed active NN. Suppose that ,the sshfence will failed. Am I right? 2013/12/3 YouPeng Yang yypvsxf19870...@gmail.com Hi Yu Thanks for your response. I'm sure my ssh setup is good.