Re: atomic test-or-set

2010-10-05 Thread Ryan King
On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogers ian.rog...@contactclean.com 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

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 Rogersian.rog...@contactclean.com 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 -

Cassandra + Pig + PHP

2010-10-05 Thread Petr Odut
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

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 petr.o...@gmail.com wrote:Is there any example / tutorial combining these technologies?Thanks-- Petr Odut [petr.o...@gmail.com]

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 tipshttp://wiki.apache.org/cassandra/OperationsOne of the nodes in the cluster is down. Is there anything in the log to explain why ? You may have

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 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

test email. please ignore

2010-10-05 Thread MK

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

Re: Cassandra lockup (0.6.5) on bulk write

2010-10-05 Thread Aaron Morton
Some quick answers...Cloud Kick monitoring may be helpfulhttps://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

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 Narendra Sharma
0.6.5 -Naren On Tue, Oct 5, 2010 at 6:56 PM, Jonathan Ellis jbel...@gmail.com wrote: Version? On Tue, Oct 5, 2010 at 7:28 PM, Narendra Sharma narendra.sha...@gmail.com wrote: Hi, I am using sstable2json to extract row data for debugging some application issue. I first ran