zookeeper集群后,运行zkCli.sh资源无法定位

zoo服务器开着呢..
sudo netstat -anp | grep 2181
tcp6 0 0 :::2181 :::* LISTEN 3603/java

tcp6 0 0 ::1:2181 ::1:34411 TIME_WAIT -

[root@localhost bin]# sudo netstat -anp | grep 2182
tcp6 0 0 :::2182 :::* LISTEN 3624/java

tcp6 0 0 10.35.162.95:56986 10.35.162.95:2182 ESTABLISHED 5583/java

tcp6 0 0 10.35.162.95:2182 10.35.162.95:56986 ESTABLISHED 3624/java

[root@localhost bin]# sudo netstat -anp | grep 2183
tcp6 0 0 :::2183 :::* LISTEN 3645/java

这是我的出错信息
2017-12-06 21:01:16,204 [myid:] - INFO [main:ZooKeeper@438] - Initiating client connection, connectString=localhost:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@799f7e29
2017-12-06 21:01:16,254 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@975] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
Welcome to ZooKeeper!
JLine support is enabled
2017-12-06 21:01:16,452 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@852] - Socket connection established to localhost/0:0:0:0:0:0:0:1:2181, initiating session
2017-12-06 21:01:16,471 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1235] - Session establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, sessionid = 0x1602b8fa3380004, negotiated timeout = 30000

WATCHER::

WatchedEvent state:SyncConnected type:None path:null

1个回答

cluster.enable=true

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问