【问题记录】查询zookeeper端口号,报 “stat is not executed because it is not in the whitelist.”
安装nc命令yum install nc -y查询zookeeper端口号[root@localhost bin]# echo stat |nc localhost 2181stat is not executed because it is not in the whitelist.解决:在zookeeper配置中新增4lw.commands.whitelist=*vim conf/zoo.cf
·
安装nc
命令
yum install nc -y
查询zookeeper端口号
[root@localhost bin]# echo stat |nc localhost 2181
stat is not executed because it is not in the whitelist.
解决:
在zookeeper
配置中新增4lw.commands.whitelist=*
vim conf/zoo.cfg
新增:
4lw.commands.whitelist=*
更多推荐
已为社区贡献8条内容
所有评论(0)