Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Cannot open channel to 2 at election address hydra0


Copy link to this message
-
RE: Cannot open channel to 2 at election address hydra0
Hi Kun,

These messages show up if a server can't talk to another during leader
election, but if there are enough servers up and able to talk to each other,
then you should be able to make progress. Note that the messages you're
seeing are just warnings.

-Flavio

> -----Original Message-----
> From: kun yan [mailto:[EMAIL PROTECTED]]
> Sent: 18 September 2013 08:19
> To: [EMAIL PROTECTED]
> Subject: Cannot open channel to 2 at election address hydra0
>
> 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:3
> 39)
>         at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImp
> l.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(Qu
> orumCnxManager.java:354)
>         at
> org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(Quo
> rumCnxManager.java:388)
>         at
> org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(Fas
> tLeaderElection.java:765)
>         at
> org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:7
> 16)
> 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:3
> 39)
>         at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImp
> l.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(Qu
> orumCnxManager.java:354)
>         at
> org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(Quo
> rumCnxManager.java:388)
>         at
> org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(Fas
> tLeaderElection.java:765)
>         at
> org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:7
> 16)
> 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