Hello all,
After starting cassandra, I tried to connect to cassandra from cqlsh and
java, but it fails to do so.
Following is the error I get while trying to connect to cqlsh.
cqlsh -u sinmin -p xx
Connection error: ('Unable to connect to any servers', {'127.0.0.1':
error(111, "Tried connect
Try with the correct IP address as below:
cqlsh 192.248.15.219 -u sinmin -p xx
CQL documentation -
http://docs.datastax.com/en/cql/3.0/cql/cql_reference/cqlsh.html
On Sun, Jul 19, 2015 at 2:00 PM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:
> Hello all,
>
> After starting cassan
Hi Ajay,
I tried that also, but still getting the same result.
On Sun, Jul 19, 2015 at 2:08 PM, Ajay wrote:
> Try with the correct IP address as below:
>
> cqlsh 192.248.15.219 -u sinmin -p xx
>
> CQL documentation -
> http://docs.datastax.com/en/cql/3.0/cql/cql_reference/cqlsh.html
>
> On
Moreover, if you are using SSDs keeping data directories and commitlog on
separate disks wont provide much benefit.
As Nate said, relying on RAID with RF=1 is not good design. Cassandra replicas
provide greater fault tolerance and HA as they are on different nodes.
Thanks
Anuj
Sent from
You also have to change the same IP which is 192.248.15.219 for seeds
inside cassandra.yaml file.
then try to connect, it will work.
Thanks,
Umang Shah
On Sun, Jul 19, 2015 at 1:52 AM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:
> Hi Ajay,
>
> I tried that also, but still getting th
Hi Umang,
Tried your suggestion, but still getting the same error.
Thanks.
On Sun, Jul 19, 2015 at 3:12 PM, Umang Shah wrote:
> You also have to change the same IP which is 192.248.15.219 for seeds
> inside cassandra.yaml file.
>
> then try to connect, it will work.
>
> Thanks,
> Umang Shah
>
Are you sure your node is up? Do you get a result when running “nodetool –h
192.248.15.219 status”?
From: Chamila Wijayarathna [mailto:cdwijayarat...@gmail.com]
Sent: Sunday, July 19, 2015 1:53 PM
To: user@cassandra.apache.org
Subject: Re: Can't connect to Cassandra server
Hi Umang,
Tried your
Hi,
I'm getting following error when running nodetool status.
maduranga@ubuntu:/etc/cassandra$ nodetool status
error: No nodes present in the cluster. Has this node finished starting up?
-- StackTrace --
java.lang.RuntimeException: No nodes present in the cluster. Has this node
finished starting
Try looking in the log file (/var/log/cassandra/system.log) for errors that
prevent your node from starting.
From: Chamila Wijayarathna [mailto:cdwijayarat...@gmail.com]
Sent: Sunday, July 19, 2015 2:29 PM
To: user@cassandra.apache.org
Subject: Re: Can't connect to Cassandra server
Hi,
I'm get
Hi Peer,
https://gist.githubusercontent.com/cdwijayarathna/a14586a9e39a943f89a0/raw/system%20log
This is the log of the last time I started the server, I couldn't found any
error there.
Thanks
On Sun, Jul 19, 2015 at 5:56 PM, Peer, Oded wrote:
> Try looking in the log file (/var/log/cassandra
Hello, Chamila.
>From the information you have supplied so far, it is not clear whether
Cassandra is in fact running.
Please provide the output of the following:
$ netstat -a -n | grep LISTEN
$ sudo lsof -i -n | grep LISTEN | grep java
It would also be good if you could provide output.log
Che
Nate,
Thanks. I dug through the changes a bit more and I believe my original
observation may have been due to:
https://github.com/krummas/cassandra/commit/fbc47e3b950949a8aa191bc7e91eb6cb396fe6a8
from: https://issues.apache.org/jira/browse/CASSANDRA-9572
I had originally passed over it because
12 matches
Mail list logo