I started the test with having the standalone instance ZK1 and trying to add
to that 1 more, ZK2 instance.
Both ZK1 and ZK2 have the same configuraion described in a above post
I started the ZK1 and it starts as it should, but it creates no log file.
If i connect to the instance using zkCli it outputs every second this:
2013-11-20 16:06:24,302 [myid:] - INFO
[main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@849] -
Socket connection established to localhost.localdomain/127.0.0.1:9983,
initiating session
2013-11-20 16:06:24,307 [myid:] - INFO
[main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@1085] -
Unable to read additional data from server sessionid 0x0, likely server has
closed socket, closing socket connection and attempting reconnect
Having started also ZK2, it has the same behaviour, is says it started
correctly, but no log file is created.
If i connect to the instance using zkCli it outputs every second this:
2013-11-20 16:06:58,626 [myid:] - WARN
[main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@1089] -
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)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:708)
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-11-20 16:06:59,727 [myid:] - INFO
[main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@966] -
Opening socket connection to server localhost.localdomain/127.0.0.1:9983.
Will not attempt to authenticate using SASL (unknown error)
--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/From-standalone-ZK-instance-to-3-instances-tp7579325p7579340.html
Sent from the zookeeper-user mailing list archive at Nabble.com.
|