Caused by: org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = AuthFailed fo详解大数据

在配置hbase的kerberos认证时,启动zookeeper之后,启动hbase出现如下错误,导致HMaster立马down掉

Caused by: org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = AuthFailed fo详解大数据

但是接着在zkEnv.sh中配置了如下内容之后,

SERVER_JVMFLAGS=”-Dsun.net.spi.nameservice.provider.1=dns,sun”

启动zookeeper出现了如下错误:

2016-04-29 13:37:43,284 [myid:] - ERROR [main:[email protected]] - Unexpected exception, exiting abnormally 
java.io.IOException: Could not configure server because SASL configuration did not allow the  ZooKeeper server to authenticate itself properly: javax.security.auth.login.LoginException: mj1.bdsm.cmcc 
	at org.apache.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:207) 
	at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:82) 
	at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:111) 
	at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86) 
	at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52) 
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116) 
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78) 

可能是因为zookeeper需要多个结点的问题。未完待续

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/9548.html

(1)
上一篇 2021年7月19日
下一篇 2021年7月19日

相关推荐

发表回复

登录后才能评论