Zookeeper报错Will not attempt to authenticate using SASL解决办法

Posted 格格巫 MMQ!!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Zookeeper报错Will not attempt to authenticate using SASL解决办法相关的知识,希望对你有一定的参考价值。

Will not attempt to authenticate using SASL (unknown error)
经过查资料,这个问题与zookeeper里面的zoo.cfg配置有关。

在程序填写的zookeper的路径,一定与zoo.cfg里面的server填写的名称一致。
(比如,如果配置的时候写的实际ip,而不是host映射名称,那么就可以能报此类错误,导致zookeeper连接失败。)

Zookeeper报错Will not attempt to authenticate using SASL解决办法
2013-09-05 15:21:44
首先需要说的是,这个问题出现的原因很多,报的错误与实际可能相差比较远。总结如下:
一、调用端和服务器端版本不统一造成的!
二、这个问题的出现,会伴随一个非常奇怪的现象。在master所在的pc上启动start-all时,内容提示所有的regionserver已经全部启动。但是,如果你去查看masterIP:60010时 会发现其他的regionserver并没有启动,regionserver的数量只有一台。因为已经有一台regionserver是活着的,所以 hbase还是能继续使用的,这会迷惑你。查看别的机器的日志后,你就会发现上述错误。zookeeper的定位居然定位到127.0.0.1去了,这个 不科学。最后,查阅资料才发现hbase.zookeeper.quorum这个属性设置时,默认本机即为zookeeper服务器(单机使用)。这就很 简单了,只需要增

以上是关于Zookeeper报错Will not attempt to authenticate using SASL解决办法的主要内容,如果未能解决你的问题,请参考以下文章

Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn)

dubbo注册中心zookeeper出现异常 Opening socket connection to server 10.70.42.99/10.70.42.99:2181. Will not at

INFO zookeeper.ClientCnxn: Opening socket connection to server***/192.168.80.151:2181. Will not

zookeeper 客户端连接报: Will not attempt to authenticate using SASL

Will not attempt to authenticate using SASL (unknown error) (org

Docker报错 WARNING: IPv4 forwarding is disabled. Networking will not work.