namenode ha切换异常

  1. 2016-10-18 17:54:10,461 WARN org.apache.hadoop.ha.SshFenceByTcpPort: Unable to connect to shd-datanode-29 as user root
  2. com.jcraft.jsch.JSchException: Algorithm negotiation fail
  3. at com.jcraft.jsch.Session.receive_kexinit(Session.java:520)
  4. at com.jcraft.jsch.Session.connect(Session.java:286)
  5. at org.apache.hadoop.ha.SshFenceByTcpPort.tryFence(SshFenceByTcpPort.java:100)
  6. at org.apache.hadoop.ha.NodeFencer.fence(NodeFencer.java:97)
  7. at org.apache.hadoop.ha.ZKFailoverController.doFence(ZKFailoverController.java:530)
  8. at org.apache.hadoop.ha.ZKFailoverController.fenceOldActive(ZKFailoverController.java:503)
  9. at org.apache.hadoop.ha.ZKFailoverController.access$1100(ZKFailoverController.java:61)
  10. at org.apache.hadoop.ha.ZKFailoverController$ElectorCallbacks.fenceOldActive(ZKFailoverController.java:890)
  11. at org.apache.hadoop.ha.ActiveStandbyElector.fenceOldActive(ActiveStandbyElector.java:902)
  12. at org.apache.hadoop.ha.ActiveStandbyElector.becomeActive(ActiveStandbyElector.java:801)
  13. at org.apache.hadoop.ha.ActiveStandbyElector.processResult(ActiveStandbyElector.java:416)
  14. at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:599)
  15. at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)

 

阅读全文…