Keyspace system_auth不存在?

Pin*_*hio 4 cassandra cassandra-2.0

我想执行以下命令:

alter KEYSPACE system_auth 
WITH replication =  
       { 'class' : 'SimpleStrategy', 
         'replication_factor' : 2 };
Run Code Online (Sandbox Code Playgroud)

system_auth没有显示为键空间是正常的吗?


基本上会发生以下错误:

Bad Request: Unknown keyspace system_auth
Run Code Online (Sandbox Code Playgroud)


另外,我如何查看存在的键空间?是否可以在cqlsh中查看它们?

Mik*_*ura 5

使用时不会创建该键盘authenticator: AllowAllAuthenticator (默认情况下).所以,设置你的authenticator,重新启动你的节点,你会没事的