Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created November 2, 2012 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbussink/7231bc6d23331ecfb07b to your computer and use it in GitHub Desktop.
Save dbussink/7231bc6d23331ecfb07b to your computer and use it in GitHub Desktop.
create keyspace access with placement_strategy = 'org.apache.cassandra.locator.AllNodeStrategy';
create column family users with comparator = UTF8Type and key_validation_class = UTF8Type and default_validation_class = UTF8Type;
create column family permissions with comparator = UTF8Type and key_validation_class = UTF8Type and default_validation_class = LongType;
set users['admin']['password'] = '65536:256:b987965bf13ae010:7bc9e5e6f76e8a1424d9a44c9f5648e7b58da35a315b46049bbca360b3609d78';
set permissions['admin']['/cassandra/keyspaces'] = 8791798056959;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment