【发布时间】:2020-08-01 14:31:52
【问题描述】:
出于开发目的,我已将 DSE(Cassandra + Search + Graph + Analytics)安装在一个单一设备上,但我无法连接到 AlwaysOn SQL,它已在 dse.yaml 文件中启用,但我不确定如何设置访问/权限。
配置:
cassandra.yaml: 验证器=AllowAllAuthenticator
dse.yaml: authentication_options=启用
蜂巢站点.xml: jdbc-auth-type=密码
我无法从 CQLSH (cqlsh -u cassandra -p cassandra) 授予用户“alwayson_sql”的访问权限: 未经授权:来自服务器的错误:code=2100 [Unauthorized] message="匿名用户无权执行此请求"
根据本指南: https://docs.datastax.com/en/security/6.0/security/secAuthSpark.html?hl=alwayson
允许访问 AlwaysOn SQL 的正确配置/流程是什么? (目前安全性并不重要,它是一个仅用于测试的开发环境)
【问题讨论】:
标签: datastax datastax-enterprise datastax-enterprise-graph datastax-startup