Zookeeper命令白名单问题 dylan 收录于 大数据技术栈 2024-02-16 2024-02-16 约 100 字 预计阅读 1 分钟 - 次阅读 目录 报错 解决 报错 1 2 3 4 5 #执行以下命令时报错 echo ruok | nc localhost 2181 ruok is not executed because it is not in the whitelist. #这表示 zookeeper 四字命令没有在白名单里导致。 解决 1 2 3 4 5 6 vim /data/zookeeper/conf/zoo.cfg ...... 4lw.commands.whitelist=* #这代表允许使用所以命令 4lw.commands.whitelist=mntr #代表值允许使用 mntr 命令 Buy me a coffee 赞赏 支付宝 微信 Please enable JavaScript to view the comments powered by Gitalk.