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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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?