查询zookeeper端口号报错 stat is not executed because it is not in the whitelist.
[root@qingchen bin]
stat is not executed because it is not in the whitelist.
安装nc的命令
yum install nc -y
解决方案:
在zookeeper
配置中新增4lw.commands.whitelist=*
vim conf/zoo.cfg
新增:
4lw.commands.whitelist=*