Skip to content

Instantly share code, notes, and snippets.

@tobert
Created June 27, 2012 21:12
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 tobert/3006886 to your computer and use it in GitHub Desktop.
Save tobert/3006886 to your computer and use it in GitHub Desktop.
cqlsh:system> use Hastur;
Bad Request: Keyspace 'hastur' does not exist
cqlsh:system> use "Hastur";
cqlsh:"Hastur"> describe columnfamily lookupbykey;
Keyspace NotFoundException() not found.
cqlsh:"Hastur"> describe columnfamily LookupByKey;
Keyspace NotFoundException() not found.
cqlsh:"Hastur"> describe columnfamily "LookupByKey";
Keyspace NotFoundException() not found.
cqlsh:system> use system;
cqlsh:system> desc columnfamily NodeIdInfo;
CREATE COLUMNFAMILY NodeIdInfo (
KEY blob PRIMARY KEY
) WITH
comment='nodeId and their metadata' AND
comparator='TimeUUIDType' AND
read_repair_chance=0.000000 AND
gc_grace_seconds=0 AND
default_validation=blob AND
min_compaction_threshold=4 AND
max_compaction_threshold=32 AND
replicate_on_write=True AND
compaction_strategy_class='SizeTieredCompactionStrategy';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment