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

Reply via email to