hbase安装后启动报错,4台虚拟机的防火墙已经关闭了
看错误好像是防火墙问题,但确实已经关闭防火墙了,实在不知道是啥问题了,恳请大神们赐教!另外这4台虚拟机2181端口相互之间都能telnet通过
hbase-master.log
2019-11-11 13:01:58,518 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:01:59,371 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:01:59,371 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:01:59,373 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:00,959 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:00,960 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:00,961 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:01,065 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts
2019-11-11 13:02:01,717 INFO [main] zookeeper.ZooKeeper: Session: 0x0 closed
2019-11-11 13:02:01,718 ERROR [main] regionserver.HRegionServer: Failed construction RegionServer
org.apache.hadoop.hbase.ZooKeeperConnectionException: master:160000x0, quorum=server1:2181,server2:2181,server3:2181, baseZNode=/hbase Unexpected KeeperException creating base node
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.createBaseZNodes(ZKWatcher.java:193)
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.<init>(ZKWatcher.java:167)
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.<init>(ZKWatcher.java:119)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:647)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:494)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2924)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:236)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2942)
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:549)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:528)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1198)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1176)
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.createBaseZNodes(ZKWatcher.java:183)
... 14 more
2019-11-11 13:02:01,720 INFO [main-EventThread] zookeeper.ClientCnxn: EventThread shut down for session: 0x0
2019-11-11 13:02:01,722 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster.
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2931)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:236)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2942)
Caused by: org.apache.hadoop.hbase.ZooKeeperConnectionException: master:160000x0, quorum=server1:2181,server2:2181,server3:2181, baseZNode=/hbase Unexpected KeeperException creating base node
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.createBaseZNodes(ZKWatcher.java:193)
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.<init>(ZKWatcher.java:167)
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.<init>(ZKWatcher.java:119)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:647)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:494)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2924)
... 5 more
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:549)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:528)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1198)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1176)
at org.apache.hadoop.hbase.zookeeper.ZKWatcher.createBaseZNodes(ZKWatcher.java:183)
... 14 more
hbase-regionserver.log
2019-11-11 13:02:12,842 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:14,689 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:14,690 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:14,691 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:14,793 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts
2019-11-11 13:02:14,795 WARN [main] zookeeper.ZKUtil: regionserver:160200x0, quorum=server1:2181,server2:2181,server3:2181, baseZNode=/hbase Unable to set watcher on znode /hbase/master
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:206)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:352)
at org.apache.hadoop.hbase.zookeeper.ZKNodeTracker.start(ZKNodeTracker.java:78)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:656)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:3050)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3068)
2019-11-11 13:02:14,799 ERROR [main] zookeeper.ZKWatcher: regionserver:160200x0, quorum=server1:2181,server2:2181,server3:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:206)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:352)
at org.apache.hadoop.hbase.zookeeper.ZKNodeTracker.start(ZKNodeTracker.java:78)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:656)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:3050)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3068)
2019-11-11 13:02:14,803 ERROR [main] regionserver.HRegionServer: ABORTING region server server4,16020,1573477313708: Unexpected exception during initialization, aborting
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:206)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:352)
at org.apache.hadoop.hbase.zookeeper.ZKNodeTracker.start(ZKNodeTracker.java:78)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:656)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:3050)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3068)
2019-11-11 13:02:14,807 ERROR [main] regionserver.HRegionServer: RegionServer abort: loaded coprocessors are: []
2019-11-11 13:02:14,841 INFO [main] regionserver.HRegionServer: esetException": 0,
"RequestSize_num_ops": 0,
"RequestSize_min": 0,
"RequestSize_max": 0,
"RequestSize_mean": 0,
"RequestSize_25th_percentile": 0,
"RequestSize_median": 0,
"RequestSize_75th_percentile": 0,
"RequestSize_90th_percentile": 0,
"RequestSize_95th_percentile": 0,
"RequestSize_98th_percentile": 0,
"RequestSize_99th_percentile": 0,
"RequestSize_99.9th_percentile": 0,
"sentBytes": 0,
"QueueCallTime_num_ops": 0,
"QueueCallTime_min": 0,
"QueueCallTime_max": 0,
"QueueCallTime_mean": 0,
"QueueCallTime_25th_percentile": 0,
"QueueCallTime_median": 0,
"QueueCallTime_75th_percentile": 0,
"QueueCallTime_90th_percentile": 0,
"QueueCallTime_95th_percentile": 0,
"QueueCallTime_98th_percentile": 0,
"QueueCallTime_99th_percentile": 0,
"QueueCallTime_99.9th_percentile": 0,
"authenticationFailures": 0
}
],
"beans": [],
"beans": []
}
2019-11-11 13:02:14,852 INFO [main] regionserver.HRegionServer: STOPPING region server 'server4,16020,1573477313708'
2019-11-11 13:02:14,852 INFO [main] regionserver.HRegionServer: STOPPED: Unexpected exception during initialization, aborting
2019-11-11 13:02:14,864 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:14,866 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:14,868 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:15,000 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:15,001 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:15,002 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:16,816 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:16,818 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:16,819 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:17,852 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:17,853 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:17,855 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:18,548 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:18,549 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:18,550 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:20,614 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:20,615 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:20,619 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:21,653 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:21,654 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:21,655 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:22,325 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:22,327 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:22,328 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:23,696 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:23,697 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:23,698 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:24,440 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:24,441 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:24,443 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:25,022 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:25,023 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:25,024 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:26,570 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:26,571 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:26,573 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:27,217 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:27,218 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:27,221 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:27,592 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:27,593 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:27,596 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:29,221 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:29,222 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:29,223 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:29,551 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:29,552 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:29,554 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:30,242 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:30,243 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:30,244 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:31,996 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:31,997 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:31,999 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:32,272 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:32,272 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:32,274 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:33,110 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:33,111 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:33,112 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:33,217 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts
2019-11-11 13:02:33,217 WARN [main] zookeeper.ZKUtil: regionserver:160200x0, quorum=server1:2181,server2:2181,server3:2181, baseZNode=/hbase Unable to set watcher on znode /hbase/running
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/running
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:206)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:352)
at org.apache.hadoop.hbase.zookeeper.ZKNodeTracker.start(ZKNodeTracker.java:78)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:659)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:3050)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3068)
2019-11-11 13:02:33,217 ERROR [main] zookeeper.ZKWatcher: regionserver:160200x0, quorum=server1:2181,server2:2181,server3:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/running
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:206)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:352)
at org.apache.hadoop.hbase.zookeeper.ZKNodeTracker.start(ZKNodeTracker.java:78)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:659)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:3050)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3068)
2019-11-11 13:02:33,217 ERROR [main] regionserver.HRegionServer: ABORTING region server server4,16020,1573477313708: Unexpected exception during initialization, aborting
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/running
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:206)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:352)
at org.apache.hadoop.hbase.zookeeper.ZKNodeTracker.start(ZKNodeTracker.java:78)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:659)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:3050)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3068)
2019-11-11 13:02:33,217 ERROR [main] regionserver.HRegionServer: RegionServer abort: loaded coprocessors are: []
2019-11-11 13:02:33,224 INFO [main] regionserver.HRegionServer: esetException": 0,
"RequestSize_num_ops": 0,
"RequestSize_min": 0,
"RequestSize_max": 0,
"RequestSize_mean": 0,
"RequestSize_25th_percentile": 0,
"RequestSize_median": 0,
"RequestSize_75th_percentile": 0,
"RequestSize_90th_percentile": 0,
"RequestSize_95th_percentile": 0,
"RequestSize_98th_percentile": 0,
"RequestSize_99th_percentile": 0,
"RequestSize_99.9th_percentile": 0,
"sentBytes": 0,
"QueueCallTime_num_ops": 0,
"QueueCallTime_min": 0,
"QueueCallTime_max": 0,
"QueueCallTime_mean": 0,
"QueueCallTime_25th_percentile": 0,
"QueueCallTime_median": 0,
"QueueCallTime_75th_percentile": 0,
"QueueCallTime_90th_percentile": 0,
"QueueCallTime_95th_percentile": 0,
"QueueCallTime_98th_percentile": 0,
"QueueCallTime_99th_percentile": 0,
"QueueCallTime_99.9th_percentile": 0,
"authenticationFailures": 0
}
],
"beans": [],
"beans": []
}
2019-11-11 13:02:33,312 INFO [main] util.log: Logging initialized @40768ms
2019-11-11 13:02:33,423 INFO [main] http.HttpRequestLog: Http request log for http.requests.regionserver is not defined
2019-11-11 13:02:33,456 INFO [main] http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter)
2019-11-11 13:02:33,456 INFO [main] http.HttpServer: Added global filter 'clickjackingprevention' (class=org.apache.hadoop.hbase.http.ClickjackingPreventionFilter)
2019-11-11 13:02:33,465 INFO [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context regionserver
2019-11-11 13:02:33,465 INFO [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs
2019-11-11 13:02:33,465 INFO [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context static
2019-11-11 13:02:33,482 INFO [main] http.HttpServer: ASYNC_PROFILER_HOME environment variable and async.profiler.home system property not specified. Disabling /prof endpoint.
2019-11-11 13:02:33,525 INFO [main] http.HttpServer: Jetty bound to port 16030
2019-11-11 13:02:33,534 INFO [main] server.Server: jetty-9.3.27.v20190418, build timestamp: 2019-04-18T18:11:38Z, git hash: d3e249f86955d04bc646bb620905b7c1bc596a8d
2019-11-11 13:02:33,624 INFO [main] handler.ContextHandler: Started o.e.j.s.ServletContextHandler@5ca1f591{/logs,file:///opt/modules/hbase-2.2.2/logs/,AVAILABLE}
2019-11-11 13:02:33,628 INFO [main] handler.ContextHandler: Started o.e.j.s.ServletContextHandler@6ef81f31{/static,file:///opt/modules/hbase-2.2.2/hbase-webapps/static/,AVAILABLE}
2019-11-11 13:02:33,770 INFO [main] webapp.StandardDescriptorProcessor: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2019-11-11 13:02:33,809 INFO [main] handler.ContextHandler: Started o.e.j.w.WebAppContext@5c645b43{/,file:///opt/modules/hbase-2.2.2/hbase-webapps/regionserver/,AVAILABLE}{file:/opt/modules/hbase-2.2.2/hbase-webapps/regionserver}
2019-11-11 13:02:33,822 INFO [main] server.AbstractConnector: Started ServerConnector@235d39d0{HTTP/1.1,[http/1.1]}{0.0.0.0:16030}
2019-11-11 13:02:33,822 INFO [main] server.Server: Started @41278ms
2019-11-11 13:02:34,903 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Opening socket connection to server server3/192.168.56.193:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:34,904 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Socket connection established to server3/192.168.56.193:2181, initiating session
2019-11-11 13:02:34,906 INFO [main-SendThread(server3:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:35,534 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Opening socket connection to server server1/192.168.56.191:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:35,535 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Socket connection established to server1/192.168.56.191:2181, initiating session
2019-11-11 13:02:35,537 INFO [main-SendThread(server1:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:35,661 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Opening socket connection to server server2/192.168.56.192:2181. Will not attempt to authenticate using SASL (unknown error)
2019-11-11 13:02:35,662 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Socket connection established to server2/192.168.56.192:2181, initiating session
2019-11-11 13:02:35,664 INFO [main-SendThread(server2:2181)] zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-11 13:02:36,889 INFO [regionserver/server4:16020] ipc.NettyRpcServer: Stopping server on /127.0.1.1:16020
2019-11-11 13:02:36,903 ERROR [regionserver/server4:16020] regionserver.HRegionServer: ABORTING region server server4,16020,1573477313708: Initialization of RS failed. Hence aborting RS.
java.io.IOException: Received the shutdown message while waiting.
at org.apache.hadoop.hbase.regionserver.HRegionServer.blockAndCheckIfStopped(HRegionServer.java:948)
at org.apache.hadoop.hbase.regionserver.HRegionServer.initializeZooKeeper(HRegionServer.java:900)
at org.apache.hadoop.hbase.regionserver.HRegionServer.preRegistrationInitialization(HRegionServer.java:870)
at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:969)
at java.lang.Thread.run(Thread.java:748)
2019-11-11 13:02:36,903 ERROR [regionserver/server4:16020] regionserver.HRegionServer: RegionServer abort: loaded coprocessors are: []
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已解决,原因是3台zookeeper没有正常启动