问题描述
我正在使用3节点cassandra 2.1.14并使用身份验证器:PasswordAuthenticator。
I am using 3 node cassandra 2.1.14 and using authenticator: PasswordAuthenticator.
但是当尝试通过以cassandra / cassandra身份登录来创建用户时。
But when trying to create a user by logging in as cassandra/cassandra. Is there something i need got fix in the set up?
ServerError:
ServerError:
系统日志显示:
推荐答案
我在尝试将整个环滚动到PasswordAuthenticator时遇到了这个问题一旦。不知道为什么它不能获取本地一个,但是我只回滚到一个启用了身份验证的节点,并且能够继续进行操作。
I just ran into this while attempting to roll a whole ring to PasswordAuthenticator at once. Not sure why it would fail to accheive local one, but I rolled back to only one node enabled for auth and was able to proceed.
因此,回滚时,在上启用PasswordAuthentication一个节点,创建您的新帐户,更新system_auth上的复制(到所有节点),设置并忘记您的cassandra密码,然后进行滚动重启,在其余的环上启用auth。
So roll back, enable PasswordAuthentication on one node, create your new account, update the replication on system_auth (to all nodes), set and forget your cassandra password and then do a rolling restart enabling auth on the rest of the ring.
这篇关于Cassandra错误:“无法达到一致性级别LOCAL_ONE”;在用户创建期间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!