RE: Can't connect to Cassandra server

2015-07-27 Thread Mikhail Strebkov
and how did you configure compaction > for “word_usage”? > Which version of Cassandra are you using? > From: Surbhi Gupta [mailto:surbhi.gupt...@gmail.com] > Sent: Thursday, July 23, 2015 10:17 PM > To: user@cassandra.apache.org > Cc: Erick Ramirez > Subject: Re: Can't connect

Re: Can't connect to Cassandra server

2015-07-27 Thread Chamila Wijayarathna
ra heap size you are > using is 4 GB. > > If you meant to use a 16GB heap you should uncomment the line > > #MAX_HEAP_SIZE="4G" > > And set > > MAX_HEAP_SIZE="16G" > > > > You should uncomment the HEAP_NEWSIZE setting as well. I would lea

RE: Can't connect to Cassandra server

2015-07-27 Thread Peer, Oded
I would leave it with the default setting 800M until you are certain it needs to be changed. From: Chamila Wijayarathna [mailto:cdwijayarat...@gmail.com<mailto:cdwijayarat...@gmail.com>] Sent: Tuesday, July 21, 2015 9:21 PM To: Erick Ramirez Cc: user@cassandra.apache.org<mailto:user@c

Re: Can't connect to Cassandra server

2015-07-23 Thread Surbhi Gupta
t;> MAX_HEAP_SIZE="16G" >> >> >> >> You should uncomment the HEAP_NEWSIZE setting as well. I would leave it >> with the default setting 800M until you are certain it needs to be changed. >> >> >> >> >> >> *From:* Ch

Re: Can't connect to Cassandra server

2015-07-23 Thread Chamila Wijayarathna
athna [mailto:cdwijayarat...@gmail.com] > *Sent:* Tuesday, July 21, 2015 9:21 PM > *To:* Erick Ramirez > *Cc:* user@cassandra.apache.org > *Subject:* Re: Can't connect to Cassandra server > > > > Hi Erick, > > > > In cassandra-env.sh, system_memory_in_mb was

RE: Can't connect to Cassandra server

2015-07-21 Thread Peer, Oded
it with the default setting 800M until you are certain it needs to be changed. From: Chamila Wijayarathna [mailto:cdwijayarat...@gmail.com] Sent: Tuesday, July 21, 2015 9:21 PM To: Erick Ramirez Cc: user@cassandra.apache.org Subject: Re: Can't connect to Cassandra server Hi Er

Re: Can't connect to Cassandra server

2015-07-21 Thread Chamila Wijayarathna
Hi Erick, In cassandra-env.sh, system_memory_in_mb was set to 2GB, I changed it into 16GB, but I still get the same issue. Following are my complete system.log after changing cassandra-env.sh, and new cassandra-env.sh. https://gist.githubusercontent.com/cdwijayarathna/5e7e69c62ac09b45490b/raw/f7

Re: Can't connect to Cassandra server

2015-07-20 Thread Erick Ramirez
Chamila, As you can see from the netstat/lsof output, there is nothing listening on port 9042 because Cassandra has not started yet. This is the reason you are unable to connect via cqlsh. You need to work out first why Cassandra has not started. With regards to JVM, Oded is referring to the max

RE: Can't connect to Cassandra server

2015-07-20 Thread Peer, Oded
memTable parameters? From: erickramirezonl...@gmail.com [mailto:erickramirezonl...@gmail.com] On Behalf Of Erick Ramirez Sent: Monday, July 20, 2015 4:08 AM To: user@cassandra.apache.org Subject: Re: Can't connect to Cassandra server Hello, Chamila. From the information you have supplied s

Re: Can't connect to Cassandra server

2015-07-19 Thread Erick Ramirez
[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

Re: Can't connect to Cassandra server

2015-07-19 Thread Chamila Wijayarathna
/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 Ca

RE: Can't connect to Cassandra server

2015-07-19 Thread Peer, Oded
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,

Re: Can't connect to Cassandra server

2015-07-19 Thread Chamila Wijayarathna
ssandra.apache.org > *Subject:* Re: Can't connect to Cassandra server > > > > 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 als

RE: Can't connect to Cassandra server

2015-07-19 Thread Peer, Oded
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

Re: Can't connect to Cassandra server

2015-07-19 Thread Chamila Wijayarathna
] DGRAM 8753 >>>> unix 2 [ ] DGRAM9422 >>>> unix 3 [ ] STREAM CONNECTED 7000 >>>> @/com/ubuntu/upstart >>>> unix 3 [ ] STREAM CONNECTED 8485 >&g

Re: Can't connect to Cassandra server

2015-07-19 Thread Umang Shah
3 [ ] STREAM CONNECTED 8485 >>> unix 2 [ ] DGRAM7947 >>> unix 3 [ ] STREAM CONNECTED 6712 >>> /var/run/dbus/system_bus_socket >>> unix 3 [ ] STREAM CONNECTED

Re: Can't connect to Cassandra server

2015-07-19 Thread Chamila Wijayarathna
[ ] STREAM CONNECTED 7760 >> /var/run/dbus/system_bus_socket >> unix 3 [ ] STREAM CONNECTED 7759 >> unix 3 [ ] STREAM CONNECTED 7754 >> unix 3 [ ] STREAM CONNECTED 7753 >> unix 3

Re: Can't connect to Cassandra server

2015-07-19 Thread Ajay
STREAM CONNECTED 7754 > unix 3 [ ] STREAM CONNECTED 7753 > unix 3 [ ] DGRAM7661 > unix 3 [ ] DGRAM7660 > unix 3 [ ] STREAM CONNECTED 6490 > @/com/ubuntu/upstart > unix 3 [ ] STREAM CONNECTED 6475 > > What is the issue here? Why I can't connect to Cassandra server? How can I > fix this? > > Thank You! > > -- > *Chamila Dilshan Wijayarathna,* > Software Engineer > Mobile:(+94)788193620 > WSO2 Inc., http://wso2.com/ > >

Can't connect to Cassandra server

2015-07-19 Thread Chamila Wijayarathna
STREAM CONNECTED 7753 unix 3 [ ] DGRAM7661 unix 3 [ ] DGRAM7660 unix 3 [ ] STREAM CONNECTED 6490 @/com/ubuntu/upstart unix 3 [ ] STREAM CONNECTED 6475 What is the issue here? Why I can't co