Thank you, Rakesh! Yes, zk seems to have started corectly.
$ sudo ./zkServer.sh start zoo.cfg JMX enabled by default Using config: /opt/zookeeper/bin/../conf/zoo.cfg Starting zookeeper ... STARTED $ I tried ./zkCli.sh -server zk1:9983 and here's the output: 2013-11-20 15:15:19,220 [myid:] - INFO [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib 2013-11-20 15:15:19,220 [myid:] - INFO [main:Environment@100] - Client environment:java.io.tmpdir=/tmp 2013-11-20 15:15:19,221 [myid:] - INFO [main:Environment@100] - Client environment:java.compiler=<NA> 2013-11-20 15:15:19,222 [myid:] - INFO [main:Environment@100] - Client environment:os.name=Linux 2013-11-20 15:15:19,222 [myid:] - INFO [main:Environment@100] - Client environment:os.arch=amd64 2013-11-20 15:15:19,223 [myid:] - INFO [main:Environment@100] - Client environment:os.version=3.2.0-4-amd64 2013-11-20 15:15:19,224 [myid:] - INFO [main:Environment@100] - Client environment:user.name=solr 2013-11-20 15:15:19,224 [myid:] - INFO [main:Environment@100] - Client environment:user.home=/home/solr 2013-11-20 15:15:19,225 [myid:] - INFO [main:Environment@100] - Client environment:user.dir=/opt/zookeeper/bin 2013-11-20 15:15:19,227 [myid:] - INFO [main:ZooKeeper@438] - Initiating client connection, connectString=localhost:9983 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@7b9dd3cd Welcome to ZooKeeper! 2013-11-20 15:15:19,272 [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) JLine support is enabled 2013-11-20 15:15:19,288 [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 15:15:19,297 [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 [zk: localhost:9983(CONNECTING) 0] 2013-11-20 15:15:20,611 [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) 2013-11-20 15:15:20,612 [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 15:15:20,614 [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 -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/From-standalone-ZK-instance-to-3-instances-tp7579325p7579338.html Sent from the zookeeper-user mailing list archive at Nabble.com.
