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=*
允许使用所有命令

3. 重启服务生效配置

posted @ 2023-06-14 14:43  記憶や空白  阅读(365)  评论(0编辑  收藏  举报