Re: Cassandra 1.0 hangs during GC

2012-08-01 Thread Nikolay Kоvshov
And the final solution http://unbxd.com/blog/2012/07/java-and-ksoftirqd-100-cpu-due-to-leap-second/ Doing $ date -s "`date`" solved the problem. 30.07.2012, 16:09, "Nikolay Kоvshov" : >  You mean using swap memory? I have total of 48G of RAM and Cassandra never > used more than 2G, swap is d

Unsuccessful attempt to add a second node to a ring.

2012-08-01 Thread Jakub Glapa
Hi Everybody! I'm trying to add a second node to an already operating one node cluster. Some specs: - cassandra 1.0.7 - both nodes have a routable listen_address and rpc_address. - Ports are open: (from node2) telnet node1 7000 is successful - Seeds parameter on node2 points to node 1. [node1] n

Re: Unsuccessful attempt to add a second node to a ring.

2012-08-01 Thread Roshni Rajagopal
Jakub, Have you set the Data, commitlog, saved cache directories to different ones in each yaml file for each node? Regards, Roshni From: Jakub Glapa mailto:jakub.gl...@gmail.com>> Reply-To: "user@cassandra.apache.org" mailto:user@cassandra.apache.org>> To: "

Re: Unsuccessful attempt to add a second node to a ring.

2012-08-01 Thread Jakub Glapa
Hi Roshni, no they are the same, my changes in cassandra.yaml were only in the listen_address, rpc_address, seeds and initial_token field. The rest is exactly the same as on node1. That's how the file looks on node2: cluster_name: 'Test Cluster' initial_token: 8507059173023461586584365185794205

Re: Unsuccessful attempt to add a second node to a ring.

2012-08-01 Thread Roshni Rajagopal
Ok, sorry it may not be required, I was thinking of a configuration I had done on my local laptop, where I had aliased my IP address. In that case the directories and jmx port needed to be different. Cluster name is same right? From: Jakub Glapa mailto:jakub.gl...@gmail.com>> Reply-To: "user@ca

Re: Unsuccessful attempt to add a second node to a ring.

2012-08-01 Thread Jakub Glapa
yes it's the same -- regards, pozdrawiam, Jakub Glapa On Wed, Aug 1, 2012 at 11:24 AM, Roshni Rajagopal < roshni.rajago...@wal-mart.com> wrote: > Ok, sorry it may not be required, > I was thinking of a configuration I had done on my local laptop, where I > had aliased my IP address. > In that

Restore snapshot

2012-08-01 Thread Desimpel, Ignace
Hi, Is it possible to restore a snapshot of a keyspace on a live cassandra cluster (I mean without restarting)?

Re: Does Cassandra support operations in a transaction?

2012-08-01 Thread Greg Fausak
Hi Ivan, No Cassandra does not support transactions. I believe each operation is atomic. If that operation returns a successful result, then it worked. You can't do things like bind two operations and guarantee is either fails they both fail. You will find that Cassandra doesn't do a lot of th

Re: virtual memory of all cassandra-nodes is growing extremly since Cassandra 1.1.0

2012-08-01 Thread Thomas Spengler
Just for information we are running on 1.1.2 JNA or not, had no difference Manually call full gc, had no difference but in my case the reduction of commitlog_total_space_in_mb to 2048 (from default 4096) makes the difference. On 07/26/2012 04:27 PM, Mina Naguib wrote: > > Hi Thomas > > On

Re: Unsuccessful attempt to add a second node to a ring.

2012-08-01 Thread Jakub Glapa
I found a similar thread from March : http://www.mail-archive.com/user@cassandra.apache.org/msg21007.html For me clearing the data and starting from the beginning didn't help. It's interesting because on my dev environment I was able to add another node without any problems. The only difference

Re: Creating counter columns in cassandra

2012-08-01 Thread Pushpalanka Jayawardhana
Hi All, I faced this same problem when trying to query the counter values. I am using a phone number as row key and updating the number of calls taken to that number. So my query is like SELECT KEY FROM WHERE No_of_Calls>5 This does not return any data, neither any exception, though I am 100% s

Re: virtual memory of all cassandra-nodes is growing extremly since Cassandra 1.1.0

2012-08-01 Thread Greg Fausak
Mina, Thanks for that post. Very interesting :-) What sort of things are you graphing? Standard *nux stuff (mem/cpu/etc)? Or do you have some hooks in to the C* process (I saw somoething about port 1414 in the .yaml file). Best, -g On Thu, Jul 26, 2012 at 9:27 AM, Mina Naguib wrote: > > H

Re: virtual memory of all cassandra-nodes is growing extremly since Cassandra 1.1.0

2012-08-01 Thread Mina Naguib
All our servers (cassandra and otherwise) get monitored with nagios + get many basic metrics graphed by pnp4nagios. This covers a large chunk of a box's health, as well as cassandra basics (specifically the pending tasks, JVM heap state). IMO it's not possible to clearly debug a cassandra iss

Looking for a good Ruby client

2012-08-01 Thread Harry Wilkinson
Hi, I'm looking for a Ruby client for Cassandra that is pretty high-level. I am really hoping to find a Ruby gem of high quality that allows a developer to create models like you would with ActiveModel. So far I have figured out that the canonical Ruby client for Cassandra is Twitter's Cassandra

Re: Does Cassandra support operations in a transaction?

2012-08-01 Thread Ivan Jiang
Hi Greg, Thank you for your answers. I should have to convert my mind to NoSql from RD-SQL while using Cassandra. Best Regards, Ivan On Wed, Aug 1, 2012 at 9:20 PM, Greg Fausak wrote: > Hi Ivan, > > No Cassandra does not support transactions. > > I believe each operation is atomic. If that

Re: Does Cassandra support operations in a transaction?

2012-08-01 Thread Jeffrey Kesselman
Short story is that few if any of the NoSql systems supprot transactions natively. Thats oen of the big compromises they make. What they call "eventual consistancy" is actually eventual Durabiltiy in ACID terms. Consistancy, as meant by the C in ACID, is not gauranteed at all. On Wed, Aug 1, 20

Re: Does Cassandra support operations in a transaction?

2012-08-01 Thread Roshni Rajagopal
Hi Ivan, Cassandra supports 'tunable consistency' . If you always read and write at a quorum (or local quorum for multi data center) from one , you can guarantee that the results will be consistent as in all the data will be compared and the latest will be returned, and no data will be out of d

Re: Looking for a good Ruby client

2012-08-01 Thread Thorsten von Eicken
Harry, we're in a similar situation and are starting to work out our own ruby client. The biggest issue is that it doesn't make much sense to build a higher level abstraction on anything other than CQL3, given where things are headed. At least this is our opinion. At the same time, CQL3 is just bar

Re: Does Cassandra support operations in a transaction?

2012-08-01 Thread Jeffrey Kesselman
Roshni, Thats not what consistancy in ACID means. Its not consistancy of reading the ame data, its referntial integrity between related pecies of data. "Consistency Data is in a consistent state when a transaction starts and when it ends. For example, in an application that transfers funds from

Re: Does Cassandra support operations in a transaction?

2012-08-01 Thread Jeffrey Kesselman
True consistancy, btw, pretty much is only possible in a transactional environment. On Thu, Aug 2, 2012 at 12:56 AM, Jeffrey Kesselman wrote: > Roshni, > > Thats not what consistancy in ACID means. Its not consistancy of reading > the ame data, its referntial integrity between related pecies o

Fwd: Re: virtual memory of all cassandra-nodes is growing extremly since Cassandra 1.1.0

2012-08-01 Thread Thomas Spengler
we have monitoring of std *nix stuff via zabbix and cassandra, as all other java via mbeans and zabbix Best Tom Original Message Subject: Re: virtual memory of all cassandra-nodes is growing extremly since Cassandra 1.1.0 Date: Wed, 1 Aug 2012 14:43:17 -0500 From: Greg Fausak