Cannot open channel to 1 at election address(待续)

这段时间搭了一个7台机器的hbase集群,启动hbase的时候,出现了以下异常:

2011-05-16 15:07:21,171 - WARN  [WorkerSender Thread:QuorumCnxManager@384] - Cannot open channel to 1 at election address /192.168.0.103:3888
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:100)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:371)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:340)
at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:360)
at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:333)
at java.lang.Thread.run(Thread.java:662)
在网上找了相关的资料,说这个异常可以忽略,原因是还有节点没有启动zookeeper,全部启动之后,自然就不会出异常了。
通过日志观察发现,这些异常信息确实都在启动的时候报出的,后面zookeeper就都能连接了,hbase也能正常使用,这也说明这位兄弟的解释的对的。
呵呵,不过看到日志中打印这么多异常,心里却是不太爽啊!所以后期的安排打算看看这部分的程序,希望能规避这样的异常。
(待续)



你可能感兴趣的:(hbase)