简体   繁体   中英

Enable authentication on single node cassandra

I am trying to enable authentication on cassandra (single node scenario) but when I enable PaswordAuthenticator, I run into into Quorun consistency leve is not satisfied. But If I can not login in the first place, how am I suppose to alter replication factor.

You need to restart all nodes with authentication enabled, and the login using default user cassandra with password cassandra :

cqlsh -u cassandra -p cassandra

Then change replication for system_auth keyspace, repair it, etc. Here are the more detailed instructions .

Regarding the QUORUM error message - for single node cluster the quorum is equal to 1, so if you get this error, then it could be that you had other nodes in this cluster registered, but they weren't correctly removed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM