it is the first time i use cassandra, so please excuse me if my question is naive :)
I have downloaded and extracted cassandra 1.2.4
i have run it using /usr/local/apache-cassandra-1.2.4/bin/cassandra -f
now i connect to it
root@Alaa:/usr/local/apache-cassandra-1.2.4# ./bin/cassandra-cli Connected to: "Test Cluster" on 127.0.0.1/9160 Welcome to Cassandra CLI version 1.2.4 Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. [default@unknown] show cluster name ...
and those three dots remain forever!! any idea what is wrong?
Cassandra will request ALLOW FILTERING as it will have to first find and load the rows containing Jonathan as author, and then to filter out the ones which do not have a time2 column equal to the specified value. Adding an index on time2 might improve the query performance.
Cassandra distributes the partition accross the nodes using the selected partitioner. As only the ByteOrderedPartitioner keeps an ordered distribution of data Cassandra does not support >, >=, <= and < operator directly on the partition key.
You need to terminate the command with a ;
, otherwise the shell has no way of telling that you're "done" entering a query/command:
show cluster name;
^---
That's why the help;
, quit;
, and exit;
examples printed as part of the startup all include a ;
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With