zookeeper中使用mntr
问题描述
在执行telnet x.x.x.x 2181连接zookeeper时,提示mntr is not executed because it is not in the whitelist
问题解决
1. 需要把mntr加入到白名单里
vim /data/zookeeper/conf/zoo.cfg
2. 在配置文件最后加上
4lw.commands.whitelist=*
允许使用所有命令
在执行telnet x.x.x.x 2181连接zookeeper时,提示mntr is not executed because it is not in the whitelist
vim /data/zookeeper/conf/zoo.cfg
4lw.commands.whitelist=*
允许使用所有命令