You can just start bin/cassandra -f . Readme.txt says: > Now that we're ready, let's start it up! > > * bin/cassandra -f > > Running the startup script with the -f argument will cause Cassandra to > remain in the foreground and log to standard out.
So, you need another terminal to run cassandra-cli. Open another terminal window and then: Readme.txt says: > Now let's try to read and write some data using the command line client. > > * bin/cassandra-cli --host localhost > > The command line client is interactive so if everything worked you should > be sitting in front of a prompt... > > Connected to: "Test Cluster" on localhost/9160 > Welcome to cassandra CLI. You will see the cassandra-cli pormpt on your terminal like: Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. [default@unknown] maki 2011/5/31 Amrita Jayakumar <amritajayakuma...@gmail.com>: > Hi Maki, > > I am trying to install apache-cassandra-0.7.6-2. > Here are the steps i followed as per the readme file. > > tar -zxvf apache-cassandra-0.7.6-2.tar.gz > cd apache-cassandra-0.7.6-2 > sudo mkdir -p /var/log/cassandra > sudo chown -R `whoami` /var/log/cassandra > sudo mkdir -p /var/lib/cassandra > sudo chown -R `whoami` /var/lib/cassandra > > Now is there any configuration settings to be made in > apache-cassandra-0.7.6-2/conf/ before i fire > > bin/cassandra -f ??? > > If so then which all are the that i should change??? > > Thanks and Regards, > Amrita > > > On Tue, May 31, 2011 at 10:00 AM, Maki Watanabe <watanabe.m...@gmail.com> > wrote: >> >> Did you read Jonathan's reply? >> If you can't understand what README says, please let us know where you >> are stack on. >> >> maki >> >> >> 2011/5/31 Amrita Jayakumar <amritajayakuma...@gmail.com>: >> > can anyone help me how to start with cassandra??? starting from the >> > basics??? >> > >> > Thanks and Regards, >> > Amrita >> > >> > On Mon, May 30, 2011 at 6:41 PM, Jonathan Ellis <jbel...@gmail.com> >> > wrote: >> >> >> >> Here's what README says: >> >> >> >> * bin/cassandra -f >> >> >> >> Running the startup script with the -f argument will cause Cassandra to >> >> remain in the foreground and log to standard out. >> >> >> >> Now let's try to read and write some data using the command line >> >> client. >> >> >> >> * bin/cassandra-cli --host localhost >> >> >> >> The command line client is interactive so if everything worked you >> >> should >> >> be sitting in front of a prompt... >> >> >> >> Connected to: "Test Cluster" on localhost/9160 >> >> Welcome to cassandra CLI. >> >> >> >> Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. >> >> [default@unknown] >> >> >> >> >> >> On Mon, May 30, 2011 at 4:09 AM, Amrita Jayakumar >> >> <amritajayakuma...@gmail.com> wrote: >> >> > Marcus, >> >> > Can u please tell me how to do that??? I was just >> >> > following >> >> > the >> >> > instructions in the README file that came with the package. >> >> > >> >> > Thanks and Regards, >> >> > Amrita >> >> > >> >> > On Mon, May 30, 2011 at 2:36 PM, Marcus Bointon >> >> > <mar...@synchromedia.co.uk> >> >> > wrote: >> >> >> >> >> >> On 30 May 2011, at 10:59, Amrita Jayakumar wrote: >> >> >> >> >> >> > I am new to cassandra. I am trying to start the Cassandra single >> >> >> > node >> >> >> > setup using the command >> >> >> > bin/cassandra -f. But there is no response from the prompt.. this >> >> >> > is >> >> >> > what it shows >> >> >> >> >> >> I'm new to this too, but I think you're looking at the wrong thing. >> >> >> cassandra -f is not an interactive mode, it just runs the server in >> >> >> the >> >> >> foreground and shows you log output, which is useful for debugging >> >> >> server >> >> >> config. The output you have looks like it's working fine. You need >> >> >> to >> >> >> start >> >> >> another terminal and connect to it from a cassandra client. >> >> >> >> >> >> Marcus >> >> > >> >> >> >> >> >> >> >> -- >> >> Jonathan Ellis >> >> Project Chair, Apache Cassandra >> >> co-founder of DataStax, the source for professional Cassandra support >> >> http://www.datastax.com >> > >> > >> >> >> >> -- >> w3m > > -- w3m