Skip to content

Instantly share code, notes, and snippets.

@mshuler
Created April 1, 2019 16:35
Show Gist options
  • Select an option

  • Save mshuler/2cf54384669c295d34a21af4ddfaaeb3 to your computer and use it in GitHub Desktop.

Select an option

Save mshuler/2cf54384669c295d34a21af4ddfaaeb3 to your computer and use it in GitHub Desktop.

Revisions

  1. mshuler created this gist Apr 1, 2019.
    15 changes: 15 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    (cassandra-3.0)mshuler@hana:~/git/cassandra$ ./bin/cqlsh
    Connected to Test Cluster at 127.0.0.1:9042.
    [cqlsh 5.0.1 | Cassandra 3.0.19-SNAPSHOT | CQL spec 3.4.0 | Native protocol v4]
    Use HELP for help.
    cqlsh> DESC CLUSTER ;

    Cluster: Test Cluster
    Partitioner: Murmur3Partitioner

    cqlsh> CREATE KEYSPACE foo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true;
    cqlsh> DESC KEYSPACE foo ;

    CREATE KEYSPACE foo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true;

    cqlsh>