Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems starting Cassandra with “./bin/cassandra -f”

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.

like image 732
jnbdz Avatar asked May 31 '11 20:05

jnbdz


People also ask

What is the most important design decision in Cassandra?

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.

Where is Cassandra data stored?

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.


1 Answers

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?

like image 58
DNA Avatar answered Nov 15 '22 09:11

DNA