When I was creating my first database User and Role, I got this error message in Cassandra – InvalidRequest: code=2200 [Invalid query] message=”org.apache.cassandra.auth.CassandraRoleManager doesn’t support PASSWORD”.
For me, this is very important to resolve this problem because application requires different database User authentication information.
I have tried many options to solve this error and I have found that cassandra.yaml file require to edit.
It has one authenticator parameter which has by default allow all types of authentication.
You can find this parameter and can change as mentioned below steps.
Change with this new value:
Restart your Cassandra service:
$ sudo service cassandra restart
Login with default admin Cassandra user:
$ cqlsh -u cassandra -p cassandra
Additionally, you can also check role manager parameter is exists or not. If below mention parameter is not exist in cassandra.yaml, you can add it.
Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.
If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.
I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.