zookeeper报错:NoNodeException: KeeperErrorCode = NoNode for /consumes/xxx/xxx  Node does not exist

登录到zookeeper服务器,查看node信息,如果不存在,看为什么不存在?


./zkCli.sh -server localhost:2181

create   /consumers/xxx/xxx    test 

zk操作命令:

ls /consumers/xxx/xxx
get /consumers/xxx/xxx
set  /consumers/xxx/xxx test
create /consumers/xxx/xxx  test