Re: connection refused error for cassandra-cli

2015-05-26 Thread Mark Reddy
By default the cli will connect to localhost so you don't even need to specify a host (-h). You should only need to specify a host if connecting to a remote host or locally on a different ip than localhost (127.0.0.1). Mark On 26 May 2015 at 15:37, Mahmood Naderan wrote: > Thanks. Instead of c

Re: connection refused error for cassandra-cli

2015-05-26 Thread Mahmood Naderan
Thanks. Instead of changing cassandra.yaml parameters, I found that the default is "localhost". So I ran "cassandra-cli -h localhost " I will try the latest version. Thanks a lot.  Regards, Mahmood

Re: connection refused error for cassandra-cli

2015-05-26 Thread Mark Reddy
Have you configured the rpc_address to listen on that ip? You can check your nodes casandra.yaml for the rpc_address setting. On a side node why are you testing on such an old version of Cassandra? The latest versions of 1.2.x is 1.2.19. There are also two branches of 2.x which are 2.0.15 and 2.1.

Re: Connection refused Error..

2010-12-03 Thread rambabu pakala
Thanks Jonathan.   Ok, will take look.   However wondering why we cannot use the (CASSANDRA_HOME/bin/cassandra) script in the BeforeClass to start and stop-server (with pidfile) to stop it?   --- On Fri, 12/3/10, Jonathan Ellis wrote: From: Jonathan Ellis Subject: Re: Connection refused

Re: Connection refused Error..

2010-12-03 Thread Jonathan Ellis
Look at EmbeddedCassandraService On Fri, Dec 3, 2010 at 2:13 AM, rambabu pakala wrote: > Hi, > > Can someone Please help me? > > Using Cassandra 0.6.6 version on Linux System. > > I can Manually start Cassandra and can run the Junit tests(can see all the > data from cli). However when i try to s