zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kun yan <yankunhad...@gmail.com>
Subject Cannot open channel to 2 at election address hydra0
Date Wed, 18 Sep 2013 07:19:09 GMT
Hi all
i my cluster have three zookeeper ,today I import data from hdfs to hbase i
found error as follow :
but usually i can successfully,today not work well ,can anyone help me ?
thanks in advance
2013-09-18 13:55:27,011 [myid:1] - INFO
 [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:FastLeaderElection@774] -
Notification time out: 1600
2013-09-18 13:55:28,612 [myid:1] - WARN
 [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:QuorumCnxManager@368] - Cannot
open channel to 2 at election address hydra0
003/192.5.1.52:3888
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
        at java.net.Socket.connect(Socket.java:579)
        at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:354)
        at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(QuorumCnxManager.java:388)
        at
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:765)
        at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:716)
2013-09-18 13:55:28,613 [myid:1] - WARN
 [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:QuorumCnxManager@368] - Cannot
open channel to 3 at election address hydra0
005/192.5.1.55:3888
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
        at java.net.Socket.connect(Socket.java:579)
        at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:354)
        at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(QuorumCnxManager.java:388)
        at
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:765)
        at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:716)
2013-09-18 13:55:28,615 [myid:1] - INFO
 [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:FastLeaderElection@774] -
Notification time out: 3200
2013-09-18 13:55:28,857 [myid:1] - INFO  [hydra0001/192.5.1.50:3888
:QuorumCnxManager$Listener@493] - Received connection request /
192.5.1.52:58990
2013-09-18 13:55:28,860 [myid:1] - INFO
 [WorkerReceiver[myid=1]:FastLeaderElection@542] - Notification: 2
(n.leader), 0x0 (n.zxid), 0x1 (n.round), LOOKING (
n.state), 2 (n.sid), 0x0 (n.peerEPoch), LOOKING (my state)
2013-09-18 13:55:28,861 [myid:1] - INFO
 [WorkerReceiver[myid=1]:FastLeaderElection@542] - Notification: 2
(n.leader), 0x0 (n.zxid), 0x1 (n.round), LOOKING (
n.state), 1 (n.sid), 0x0 (n.peerEPoch), LOOKING (my state)
2013-09-18 13:55:28,861 [myid:1] - WARN
 [WorkerSender[myid=1]:QuorumCnxManager@368] - Cannot open channel to 3 at
election address hydra0005/192.5.1.55:3888
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
        at java.net.Socket.connect(Socket.java:579)
        at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:354)
        at
org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:327)
        at
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:393)
        at
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:365)
        at java.lang.Thread.run(Thread.java:722)
-- 

In the Hadoop world, I am just a novice, explore the entire Hadoop
ecosystem, I hope one day I can contribute their own code

YanBit
yankunhadoop@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message