Zookeeper报错Will not attempt to authenticate using SASL解决办法
来源:互联网 发布:淘宝网购物女装小西装 编辑:程序博客网 时间:2024/06/08 11:35
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服务器(单机使用)。这就很 简单了,只需要增加这个属性就可以了。
<property>
<name>hbase.zookeeper.quorum</name>
<value>10.82.58.213</value>
</property>
同时,也发现如果/etc/hosts设置错误也会发生类似问题。/etc/hosts中,localhost和本机PC名都需要为127.0.0.1,因为本机PC名默认是127.0.1.1。
三、hbase的参数设置问题 hbase-site.xml
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/opt/hadoop/zookeeper</value>
<description>Property from ZooKeeper's config zoo.cfg.
The directory where the snapshot is stored.
</description>
</property>
一、调用端和服务器端版本不统一造成的!
二、这个问题的出现,会伴随一个非常奇怪的现象。在master所在的pc上启动start-all时,内容提示所有的regionserver已经全部启动。但是,如果你去查看masterIP:60010时 会发现其他的regionserver并没有启动,regionserver的数量只有一台。因为已经有一台regionserver是活着的,所以 hbase还是能继续使用的,这会迷惑你。查看别的机器的日志后,你就会发现上述错误。zookeeper的定位居然定位到127.0.0.1去了,这个 不科学。最后,查阅资料才发现hbase.zookeeper.quorum这个属性设置时,默认本机即为zookeeper服务器(单机使用)。这就很 简单了,只需要增加这个属性就可以了。
<property>
<name>hbase.zookeeper.quorum</name>
<value>10.82.58.213</value>
</property>
同时,也发现如果/etc/hosts设置错误也会发生类似问题。/etc/hosts中,localhost和本机PC名都需要为127.0.0.1,因为本机PC名默认是127.0.1.1。
三、hbase的参数设置问题 hbase-site.xml
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/opt/hadoop/zookeeper</value>
<description>Property from ZooKeeper's config zoo.cfg.
The directory where the snapshot is stored.
</description>
</property>
0 0
- Zookeeper报错Will not attempt to authenticate using SASL解决办法
- Zookeeper报错Will not attempt to authenticate using SASL解决办法
- Zookeeper报错Will not attempt to authenticate using SASL解决办法
- Zookeeper报错Will not attempt to authenticate using SASL解决办法
- disconf 报错 Will not attempt to authenticate using SASL (unknown error)
- zookeeper的Will not attempt to authenticate using SASL (无法定位登录配置)
- Dubbo zookeeper:Will not attempt to authenticate using SASL (unknown error)
- Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)
- dubbo+zookeeper框架出现Will not attempt to authenticate using SASL (unknown error)
- Connection refused Will not attempt to authenticate using SASL
- Eclipse下调试HBase程序报“Will not attempt to authenticate using SASL (java.lang.SecurityException : 无法定位登”
- hbase windowns 下, Will not attempt to authenticate using SASL (无法定位登录配置)
- Will not attempt to authenticate using SASL (java.lang.SecurityException: 无法定位登录配置)
- Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate
- tomcat警告解决办法:WARNING: An attempt was made to authenticate the locked user
- tomcat警告解决办法:WARNING: An attempt was made to authenticate the locked user
- SVN报错authorization failed: Could not authenticate to server: rejected Basic challenge
- QQ企业邮箱使用Java代码发送失败,错误DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NT
- Android studio 中文乱码问题解决
- 苹果将终止照片处理软件iPhoto及Aperture开发
- D3D学习笔记(四)
- WES7去掉IE
- cell2struct
- Zookeeper报错Will not attempt to authenticate using SASL解决办法
- Iometer安装
- 【软件后门】 PowerISO5 虚拟光驱
- 二叉树与树以及森林谁包含元素个数更多
- 社会生存的75条忠告---胜读10年书
- 一个老程序员对学弟学妹的一些忠告(转载)
- 一步一步完成cocos2d-x-2.2.1 的Android交叉编译
- shell中拆分字符串
- php 调用存储过程