hbase的master的备份机,启动不了了。报以下错误:
2019-11-08 10:19:51,950 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts
2019-11-08 10:19:52,820 INFO [main] zookeeper.ZooKeeper: Session: 0x0 closed
2019-11-08 10:19:52,820 ERROR [main] master.HMasterCommandLine: Master exiting
解决问题的思路:
1,发现hbase进程没起来后,第一时间查日志
2,检查HBASE_MANAGES_ZK=false,我的zk是独立安装的
3,查看端口:
[root@testing logs]# lsof -i:2181 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 21219 root 26u IPv6 15937783 0t0 TCP *:eforward (LISTEN) java 21219 root 29u IPv6 15923174 0t0 TCP testing:eforward->testing:33366 (ESTABLISHED) java 21219 root 32u IPv6 15923175 0t0 TCP testing:eforward->testing:33368 (ESTABLISHED) java 21219 root 33u IPv6 15923177 0t0 TCP testing:eforward->testing:33370 (ESTABLISHED) java 21219 root 34u IPv6 15938630 0t0 TCP testing:eforward->testing:33378 (ESTABLISHED) java 21219 root 35u IPv6 15938631 0t0 TCP testing:eforward->testing:33380 (ESTABLISHED) java 21219 root 36u IPv6 15938632 0t0 TCP testing:eforward->testing:33384 (ESTABLISHED) java 21219 root 37u IPv6 15938634 0t0 TCP testing:eforward->testing:33394 (ESTABLISHED) java 21219 root 38u IPv6 15937923 0t0 TCP testing:eforward->testing:33404 (ESTABLISHED) java 21219 root 39u IPv6 15938636 0t0 TCP testing:eforward->testing:33406 (ESTABLISHED) java 21219 root 41u IPv6 15938638 0t0 TCP testing:eforward->testing:33414 (ESTABLISHED) 。。。。。。。。。。。。。。。。。。。。。。。。。省略。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
kafka停掉了,hbase进程没起来,本机的zk停掉了,但是根zk集群的连接还有这么多,不正常。
前段时间装了kafka eagle,会不会是因为它呢?停掉kafka eagle,在启动hbase,好了。
转载请注明
作者:海底苍鹰
地址:http://blog.51yip.com/hadoop/2229.html