Sunday, 15 May 2011

java - How to add a column family in system_auth keyspace in Cassandra? -



java - How to add a column family in system_auth keyspace in Cassandra? -

i have live cluster (cassandra 2.0.9, cql spec 3.1.1) using allowallauthenticator @ moment, , want switch passwordauthenticator without downtime, i'm trying create system_auth key space , column families manually.

however, cassandra seems prevent users doing changes in system_auth key space. got:

cqlsh:system_auth> create table credentials ( ... username text, ... options map<text, text>, ... salted_hash text, ... primary key (username) ... ) gc_grace_seconds=7776000; bad request: cannot create <keyspace system_auth>

is there way around problem? datastax enterprise version has authenticator transitionalauthenticator allows no downwards time transition passwordauthenticator. there chance can used in open source version? thanks

java cassandra cql cql3 cqlsh

No comments:

Post a Comment