Re: Query on sstable2json - possible bug

2010-10-05 Thread Narendra Sharma
0.6.5 -Naren On Tue, Oct 5, 2010 at 6:56 PM, Jonathan Ellis wrote: > Version? > > On Tue, Oct 5, 2010 at 7:28 PM, Narendra Sharma > wrote: > > Hi, > > > > I am using sstable2json to extract row data for debugging some > application > > issue. I first ran sstablekeys to find the list of keys in

Null Pointer Exception / Secondary Indices

2010-10-05 Thread J T
Hi, I've been battling against some errors that only seem to crop up when I'm messing around with secondary indices in 0.7-beta2. Namely I seem to get errors like this start to happen, after I 'delete' a row in a CF that has a couple of secondary indices on it and then at some point later try to

Re: Query on sstable2json - possible bug

2010-10-05 Thread Jonathan Ellis
Version? On Tue, Oct 5, 2010 at 7:28 PM, Narendra Sharma wrote: > Hi, > > I am using sstable2json to extract row data for debugging some application > issue. I first ran sstablekeys to find the list of keys in the sstable. Then > I use the key to fetch row from sstable. The sstable is from Lucand

Re: Cassandra lockup (0.6.5) on bulk write

2010-10-05 Thread Aaron Morton
Some quick answers...Cloud Kick monitoring may be helpful https://www.cloudkick.com/monitoring-featuresrpc_timeout_in_ms is the timeout for communication between nodes in the cluster, not clients and the cluster. AFAIK you should be setting timeouts on the Thrift socket. If you get a timeout then r

Query on sstable2json - possible bug

2010-10-05 Thread Narendra Sharma
Hi, I am using sstable2json to extract row data for debugging some application issue. I first ran sstablekeys to find the list of keys in the sstable. Then I use the key to fetch row from sstable. The sstable is from Lucandra deployment. I get following. -bash-3.2$ ./sstablekeys Documents-37-Data

test email. please ignore

2010-10-05 Thread MK

Re: Cassandra lockup (0.6.5) on bulk write

2010-10-05 Thread Jason Horman
Yes, you are right. For some reason we didn't notice it. The Cassandra server itself was up still, so the on machine monitoring for the process didn't go off. nodetool shows it is unresponsive though. We are still learning how to properly monitor. The machine that went down ran out of disk space on

Re: Sorting in Cassandra

2010-10-05 Thread Aaron Morton
1. You cannot return just the super columns, you have to get their sub columns as well. The returned data is ordered, please provide and example of where it is not. 2. Pull back the entire row and filter/sort the columns client side. It's not possible to return columns of the same name from differe

Sorting in Cassandra

2010-10-05 Thread cbert...@libero.it
Hi, I need some help about sorting data in the right way from Cassandra. I have a SuperColumnFamily SCF: UserData { UserID (ROW) { SuperColumnKey1 { firstCol: value

Re: Cassandra lockup (0.6.5) on bulk write

2010-10-05 Thread Aaron Morton
The cluster looks unbalanced (assuming the Random Partitioner), did you manually assign tokens to the nodes?  The section on Token Select here some some tips http://wiki.apache.org/cassandra/Operations One of the nodes in the cluster is down. Is there anything in the log to explain why ? You may ha

Re: Cassandra + Pig + PHP

2010-10-05 Thread Aaron Morton
There is an example for pig in contrib/pig and a hadoop example in contrib/hadoop . What role did you want PHP to fill?AaronOn 06 Oct, 2010,at 06:05 AM, Petr Odut wrote:Is there any example / tutorial combining these technologies?Thanks-- Petr Odut [petr.o...@gmail.com]

Cassandra lockup (0.6.5) on bulk write

2010-10-05 Thread Jason Horman
We are experiencing some random hangs while importing data into Cassandra 0.6.5. The client stack dump is below. We are using Java Pelops with Thrift r917130. The hang seems random, sometimes millions of records in, sometimes just a few thousand. It sort of smells like the JIRA https://issues.apac

Cassandra + Pig + PHP

2010-10-05 Thread Petr Odut
Is there any example / tutorial combining these technologies? Thanks -- Petr Odut [petr.o...@gmail.com]

Re: atomic test-or-set

2010-10-05 Thread Ian Rogers
On 05/10/2010 16:30, Ryan King wrote: On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogers wrote: Does Cassandra have an atomic test-or-set operation? That is, I want to check to see if a key has a value and, if not, set it to something. But it must be an atomic operation - I can't do a separate fetch

Re: atomic test-or-set

2010-10-05 Thread Ryan King
On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogers wrote: > > Does Cassandra have an atomic test-or-set operation? > > That is, I want to check to see if a key has a value and, if not, set it to > something.  But it must be an atomic operation - I can't do a separate fetch > and then set from the applicat

atomic test-or-set

2010-10-05 Thread Ian Rogers
Does Cassandra have an atomic test-or-set operation? That is, I want to check to see if a key has a value and, if not, set it to something. But it must be an atomic operation - I can't do a separate fetch and then set from the application as that creates a possible race condition with anothe

Tuning cassandra to use less memory

2010-10-05 Thread Utku Can Topçu
Hi All, We're currently starting to get OOM exceptions in our cluster. I'm trying to push the limiations of our machines. Currently we have 1.7 G memory (ec2-medium) I'm wondering if by tweaking some of cassandra's configuration settings, is it possible to make it live in peace and less memory :)