Re: Random errors using phpcassa

2012-07-08 Thread Marco Matarazzo
In fact, phpcassa is doing his work quite well. The error seems to be coming from cassandra, even if I still have to understand why. More precisely, the error is on the cql query prepare. I opened a bug for it, as we discovered the same problem on 3 different clusters. Maybe is something wron

Re: JNA on Windows

2012-07-08 Thread aaron morton
Processes start differently on windows. On windows it uses mklink to make a hard link https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/CLibrary.java#L170 Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 6/0

Re: CQL 3 with a right API

2012-07-08 Thread aaron morton
Row keys are distinct. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 6/07/2012, at 7:30 AM, Shahryar Sedghi wrote: > Hi > > I am new to to Cassandra and we started with 1.1 and modeled everything with > Composite columns and wide rows

Re: Multiple keyspace question

2012-07-08 Thread aaron morton
I would do a test to see the latency difference under load between having 1 KS with 5 CF's and 50 KS with 5 CF's. Your test will need to read and write to all the CF's. Having many CF's may result in more frequent memtables flushes. (Personally it's not an approach I would take.) Cheers --

Re: Composite Slice Query returning non-sliced data

2012-07-08 Thread aaron morton
Something like: This is how I did the write in CLI and this is what it printed. and then This is how I did the read in the CLI and this is what it printed. It's hard to imagine what data is in cassandra based on code. cheers - Aaron Morton Freelance Developer @aaronmorton h

Re: Effect of rangequeries with RandomPartitioner

2012-07-08 Thread aaron morton
for background http://wiki.apache.org/cassandra/FAQ#range_rp It maps the start key to a token, and then scans X rows from their on CL number of nodes. Rows are stored in token order. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/07/20

Re: cannot build 1.1.2 from source

2012-07-08 Thread aaron morton
Did you try running ant clean first ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 8/07/2012, at 1:57 PM, Arya Goudarzi wrote: > Hi Fellows, > > I used to be able to build cassandra 1.1 up to 1.1.1 with the same set > of procedures by r

Re: Effect of rangequeries with RandomPartitioner

2012-07-08 Thread prasenjit mukherjee
Thanks Aaron for your response. Some follow up questions/assumptions/clarifications : 1. With RandomPartitioner, on a given node, are the keys sorted by their hash_values or original/unhashed keys ? 2. With RandomPartitioner, on a given node, are the columns (for a given key) always sorted by

Re: Effect of rangequeries with RandomPartitioner

2012-07-08 Thread samal
inline resp. On Mon, Jul 9, 2012 at 10:18 AM, prasenjit mukherjee wrote: > Thanks Aaron for your response. Some follow up > questions/assumptions/clarifications : > > 1. With RandomPartitioner, on a given node, are the keys sorted by > their hash_values or original/unhashed keys ? > hash value