使用下民命令连接zookeeper,执行四字命令:
telnet 127.0.0.1 2181
报如下错误:
stat is not executed because it is not in the whitelist
从字面意思上看,就是命令不在白名单中,根据博客,发现有两种解决方案,参考博客
我使用了第一种解决方案,配置增加了一行
4lw.commands.whitelist=*
问题解决了,但是想到了一个问题
使用下民命令连接zookeeper,执行四字命令:
telnet 127.0.0.1 2181
报如下错误:
stat is not executed because it is not in the whitelist
从字面意思上看,就是命令不在白名单中,根据博客,发现有两种解决方案,参考博客
我使用了第一种解决方案,配置增加了一行
4lw.commands.whitelist=*
问题解决了,但是想到了一个问题