进入zookeeper/bin目录下
连接zookeeper
sh zkCli.sh -server localhost:2181
查看
ls /configs
结果如下
[zk: localhost:2181(CONNECTED) 5] ls /configs
[test_collection, myconf, _default, gettingstarted, solr_test_conllection_conf]
进入zookeeper/bin目录下
连接zookeeper
sh zkCli.sh -server localhost:2181
查看
ls /configs
结果如下
[zk: localhost:2181(CONNECTED) 5] ls /configs
[test_collection, myconf, _default, gettingstarted, solr_test_conllection_conf]