Note that there are some explanatory texts on larger screens.

plurals
  1. POCassandra Insertion Error
    primarykey
    data
    text
    <p>I have a 4 Node Cassandra cluster with 2 Cassandra nodes and 2 brisk nodes[cassandra+TT]. Brisk beta 2</p> <p>I used cassandra-cli to insert create and update column families</p> <p>My insertions and projections are are always getting failed. For example </p> <p>Counter Column family </p> <pre><code>[default@StatsKeySpace] create column family Impressions with comparator=UTF8Type and default_validation_class=CounterColumnType and key_validation_class=UTF8Type; 175d69d0-eb6f-11e0-0000-93bbb4d362fc Waiting for schema agreement... ... schemas agree across the cluster [default@StatsKeySpace] incr Impressions['Test']['impressions'] by 10; null [default@StatsKeySpace] incr Impressions['Test']['impressions'] by 1; null [default@StatsKeySpace] get Impressions['Test']['impressions']; null [default@StatsKeySpace] list Impressions; Using default limit of 100 null </code></pre> <p>Standard Column family</p> <pre><code>[default@StatsKeySpace] set TestColumnFamily['Test']['tamil']='hai'; null </code></pre> <p>All the nodes are alive in the cluster</p> <p>This is my keyspace defn</p> <pre><code>Keyspace: StatsKeySpace: Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy Durable Writes: true Options: [replication_factor:1] </code></pre> <p>I tried cassandra-cli with debug mode I found this error</p> <pre><code>[default@unknown] use StatsKeySpace; Authenticated to keyspace: StatsKeySpace [default@StatsKeySpace] incr Impressions['tamil']['count'] by 1; null java.lang.RuntimeException at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:297) at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217) at org.apache.cassandra.cli.CliMain.main(CliMain.java:345) </code></pre> <p>Both the column families has replicate_on_write false Thanks for help in advance</p> <p>Regards, Tamil</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload