For some reason when I try to start Cassandra with this command:
bin/cassandra -f
The terminal gets stuck on:
Listening for thrift clients...
Is it normal? Does that mean that Thrift can talk too Thrift?
I am using Ubuntu Server.
With Cassandra, an important goal of the design is to optimize how data is distributed around the cluster. Sorting is a Design Decision: In Cassandra, sorting can be done only on the clustering columns specified in the PRIMARY KEY.
When a write occurs, Cassandra stores the data in a memory structure called memtable, and to provide configurable durability, it also appends writes to the commit log on disk. The commit log receives every write made to a Cassandra node, and these durable writes survive permanently even if power fails on a node.
That sounds normal. Cassandra -f doesn't create an interactive session, it just runs Cassandra in the foreground, but as a server process.
To interact with Cassandra, you can start a CLI session in another terminal window. See http://wiki.apache.org/cassandra/CassandraCli for details of how to do this, and the commands that you can run.
There are also clients for various programming languages - see http://wiki.apache.org/cassandra/ClientOptions
See also start cassandra with "./bin/cassandra -f", how to have back the terminal window?
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