Hello,
I have manually installed zookeeper, superisors and nimbus on different
servers. But when I run supervisors they are unable to connect to
zookeeper.
The following error is thrown in supervisor.log continuosuly..
2014-09-04 15:56:21 o.a.z.ClientCnxn [INFO] Opening socket connection to
server ip-172-30-2-133/127.0.0.1:2181. Will not attempt to authenticate
using SASL (unknown error)
2014-09-04 15:56:21 o.a.z.ClientCnxn [WARN] Session 0x0 for server null,
unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[na:1.7.0_65]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
~[na:1.7.0_65]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
~[zookeeper-3.4.5.jar:3.4.5-1392090]
at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
~[zookeeper-3.4.5.jar:3.4.5-1392090]
I saw that the supervisor is considering its host as the zookeeper server
and so unable to connect to it. how to tell the supervisor where zookeeper
is?
please help
ThankYou,
G V Chandrahas Raj