error building cassandra trunk

2011-06-01 Thread sachin nikam
I synced up cassandra-trunk and trying ant build. getting the following error. Any ideas? [java] error(208): /home/sknikam/cassandra/dev/cassandra-trunk/src/java/org/apache/cassandra/cql/Cql.g:568:1: The following token definitions can never be matched because prior tokens match the same inpu

Re: ConsistencyLevel and write availability

2011-06-01 Thread aaron morton
It depends on which nodes are down and which keys you are writing. e.g. Using a the SimplePlacementStrategy, with the nodes ordered 0 to 9 and CL ALL. If nodes 8 and 9 are down, the cluster will still be up for all key ranges assigned to nodes 0, 1, 2 and 3 and the replicas for those ranges are

Re: get_indexed_slices count api

2011-06-01 Thread aaron morton
The best thing to do is log into jira and vote for the feature so others know people are interested in it. Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 1 Jun 2011, at 09:21, Donal Zang wrote: > Hi, > I'm query on cassandra lik

A couple of links for people getting started with the NoSQL space

2011-06-01 Thread Sameer Farooqui
A $35 book was published today with a really excellent chapter describing of the NoSQL ecosystem. If you’re interested in the NoSQL space, I highly recommend it (and you can read it for free from the links below): NoSQL Chapter: http://www.aosabook.org/en/nosql.html Rest of book: http://www.a

Re: cascading failures due to memory

2011-06-01 Thread Jonathan Ellis
look for GCInspector On Wed, Jun 1, 2011 at 2:30 PM, Sasha Dolgy wrote: > is there a specific string I should be looking for in the logs that > isn't super obvious to me at the moment... > > On Tue, May 31, 2011 at 8:21 PM, Jonathan Ellis wrote: >> The place to start is with the statistics Cassa

Re: cascading failures due to memory

2011-06-01 Thread Sasha Dolgy
and is there anything specific that could be causing the issue between Java SE 1.6.0_24 and 1.6.0_25 ? All nodes are _24 up to 64% memory usage today -sd On Wed, Jun 1, 2011 at 9:30 PM, Sasha Dolgy wrote: > is there a specific string I should be looking for in the logs that > isn't super obvi

Re: cascading failures due to memory

2011-06-01 Thread Sasha Dolgy
is there a specific string I should be looking for in the logs that isn't super obvious to me at the moment... On Tue, May 31, 2011 at 8:21 PM, Jonathan Ellis wrote: > The place to start is with the statistics Cassandra logs after each GC. > > On Tue, May 31, 2011 at 5:01 AM, Sasha Dolgy wrote:

RE: Appending to fields

2011-06-01 Thread Jeremiah Jordan
Cassandra handles this by using a different design, you don't append anything. You use the fact that in Cassandra you have dynamic columns and you make a new column every time you want to put more data in. Then when you do finally need to read the data out you read out a slice of columns, not jus

Re: JRockit

2011-06-01 Thread Jeffrey Kesselman
Well, my information is old... But back in the heyday of VMs, JRockit really only had one specific area of performance advantage, which was in message passing, and all their benchmarks were tweaked to play to that. Id say its not coincidence that oracle has made this free shortly after they acqui

Re: Appending to fields

2011-06-01 Thread Nair, Rajesh
D - Original Message - From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Tuesday, May 31, 2011 09:57 PM To: user@cassandra.apache.org Subject: Re: Appending to fields Sounds like Ed is right and you should be doing the append as add-a-new-column instead of overwrite-existing-column.

JRockit

2011-06-01 Thread Daniel Doubleday
Hi all now that JRockit is available for free and the claims are there that it has better performance and gc I wanted to know if anybody out here has done any testing / benchmarking yet. Also interested in deterministic gc ... maybe its worth the 300 bucks? Cheers, Daniel

Re: sync commitlog in batch mode lose data

2011-06-01 Thread leon hong
wait "geili" reply 2011/6/1 Preston Chang > I disable the disk cache of RAID controller, unfortunately it still lost > some data. > > 2011/6/1 Peter Schuller > >> > 1). set commitlog sync in batch mode and the sync batch window in 0 ms >> > 2). one client wrote random keys in infinite loop wit

Re: starting with PHPcassa

2011-06-01 Thread Maki Watanabe
Amrita, I recommend you to take a bit more time to investigate, think, and struggle on the problems by yourself before posting questions. It will increase your technical skill, and help you much when you will face on really serious problem in future. For the current problem, if I am you, I'll make