Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)

保证windows和服务器的zookeeper版本一致,jdk1.8版本

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error) 

1)查看是不是关闭了Linux的防火墙,关闭安全策略同时查看zookeeper服务器端是否开启

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)

修改为SELINUX=disabled

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)
2)代码中的请求时间,要大于zookeeper里面配置的延迟时间

通过vim /opt/zookeeper-3.5.7/conf/zoo.cfg 查看ticketTime 

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)
3)以上还是不行,请在配置一下电脑的host, C:\Windows\System32\drivers\etc\hosts 记事本打开进行ip绑定 例如 102.168.100.100  hadoop  将集群中的所有服务器的对应域名和ip写入到hosts,和服务器里hosts保持一致;

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)

Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)

 

上一篇:Testing Big Spatial Data Software(Hadoop + HBase + GeoWave + GeoServer)without dying in the attempt


下一篇:name="verify-v1"是做什么用的