【发布时间】:2020-07-01 06:09:56
【问题描述】:
在 redhat 7 上新安装 cassandra 3.0.20 时,我无法列出角色。我已经尝试使用...修复/etc/alternatives/cassandra/cassandra.yaml 的选项...
authenticator: PasswordAuthenticator
然后重启服务。
当我运行像LIST ROLES 这样的简单命令时,仍然出现以下错误。
cassandra@cqlsh> 列出角色;
未经授权:来自服务器的错误:code=2100 [Unauthorized] message="您必须登录且非匿名才能执行此请求"
【问题讨论】:
-
尝试同时设置 CassandraAuthorizer。
-
@Aaron 我确实添加了授权人:CassandraAuthorizer 并重新启动,仍然没有成功