Effect of rangequeries with RandomPartitioner

2012-07-07 Thread prasenjit mukherjee
Wondering how a rangequery request is handled if RP is used. Will the receiving node do a fan-out to all the nodes in the ring or it will just execute the rangequery on its own local partition ? -- Sent from my mobile device

Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread prasenjit mukherjee
Wondering how a rangequery request is handled if RP is used. Will the receiving node do a fan-out to all the nodes in the ring or it will just execute the rangequery on its own local partition ? -Prasenjit

Re: Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread Edward Capriolo
On Sat, Jul 7, 2012 at 9:26 AM, prasenjit mukherjee wrote: > Wondering how a rangequery request is handled if RP is used. Will the > receiving node do a fan-out to all the nodes in the ring or it will > just execute the rangequery on its own local partition ? > > -Prasenjit With RP the data is s

Re: Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread prasenjit mukherjee
Have 2 questions : 1. In RP on a given node, are the rows ordered by hash(key) or key ? If the rows on a node are ordered by hash(key) then essentially it has to be implemented by a full-scan on that node. 2. In RP, How does a cassandra node route a client's range-query request ? The range is dis

Re: Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread Edward Capriolo
On Sat, Jul 7, 2012 at 11:17 AM, prasenjit mukherjee wrote: > Have 2 questions : > > 1. In RP on a given node, are the rows ordered by hash(key) or key ? > If the rows on a node are ordered by hash(key) then essentially it has > to be implemented by a full-scan on that node. > > 2. In RP, How does

unable to rename commitlog, cassandra can't accept writes

2012-07-07 Thread Frank Hsueh
Hi, I'm running Casandra 1.1.2 on Java 7 x64 on Win7 sp1 x64 (all latest versions). If it matters, I'm using a late version of Astyanax as my client. I'm using 4 threads to write a lot of data into a single CF. After several minutes of load (~ 30m at last incident), Cassandra stops accepting wr

Re: unable to rename commitlog, cassandra can't accept writes

2012-07-07 Thread Frank Hsueh
bug already reported: https://issues.apache.org/jira/browse/CASSANDRA-4337 On Sat, Jul 7, 2012 at 6:26 PM, Frank Hsueh wrote: > Hi, > > I'm running Casandra 1.1.2 on Java 7 x64 on Win7 sp1 x64 (all latest > versions). If it matters, I'm using a late version of Astyanax as my > client. > > I'

sliced_buffer_size_in_kb

2012-07-07 Thread Deno Vichas
all, is it advisable to mess with sliced_buffer_size_in_kb. i normal take slice of a couple hundred columns that are 50-100K each. thanks, deno

cannot build 1.1.2 from source

2012-07-07 Thread Arya Goudarzi
Hi Fellows, I used to be able to build cassandra 1.1 up to 1.1.1 with the same set of procedures by running ant on the same machine, but now the stuff associated with gen-cli-grammar breaks the build. Any advice will be greatly appreciated. -Arya Source: source tarball for 1.1.2 downloaded from

Re: node vs node latency

2012-07-07 Thread Tyler Hobbs
Those latencies look like the difference between a couple of disk seeks and reading something that's already in the os cache. The dynamic snitch will favor nodes with lower latencies. Once a node has served enough reads, it might not have to hit disk very often, which produces lower latencies. S

Re: Random errors using phpcassa

2012-07-07 Thread Tyler Hobbs
phpcassa doesn't actually support CQL at all yet, it just doesn't stop you from grabbing the connection and trying to run a cql query anyways. So, I would expect quite a few things to randomly break. Additionally, you need to set the CQL API version to 3.0.0 (I believe) using set_cql_version() on

Re: sliced_buffer_size_in_kb

2012-07-07 Thread Tyler Hobbs
This option was removed in 1.1, so probably not :) On Sat, Jul 7, 2012 at 8:50 PM, Deno Vichas wrote: > all, > > is it advisable to mess with sliced_buffer_size_in_kb. i normal take > slice of a couple hundred columns that are 50-100K each. > > > thanks, > deno > -- Tyler Hobbs DataStax

Re: how big can you slice

2012-07-07 Thread Tyler Hobbs
On Fri, Jul 6, 2012 at 8:37 PM, Deno Vichas wrote: > all, > > are there any guidelines to how much you can slice. how does total > payload size vs # of column affect performance? > > thanks, > deno > The data size matters most. I recommend keeping each slice under 10mb. -- Tyler Hobbs DataSt

Re: MeteredFlusher in system.log entries

2012-07-07 Thread Boris Yen
I am not sure, but I think there should be only 6 memtables (max) based on the example. 1 is active, 4 are in the queue, 1 is being flushed. Is this correct? On Wed, Jun 6, 2012 at 9:08 PM, rohit bhatia wrote: > Also, Could someone please explain how the factor of 7 comes in the > picture in th

Re: Java heap space on Cassandra start up version 1.0.10

2012-07-07 Thread Tyler Hobbs
The heap dump is only 47mb, so something strange is going on. Is there anything interesting in the heap dump? On Fri, Jul 6, 2012 at 6:00 PM, Jason Hill wrote: > Hello friends, > > I'm getting a: > > ERROR 22:50:29,695 Fatal exception in thread > Thread[SSTableBatchOpen:2,5,main] > java.lang.Ou

Re: Not getting all data from a 2 node cluster

2012-07-07 Thread Boris Yen
My guess is your RF is 1. When the new node joins the cluster, only part (depends on the token) of the data goes to this new node. On Fri, Jun 8, 2012 at 2:49 PM, Prakrati Agrawal < prakrati.agra...@mu-sigma.com> wrote: > Dear all > > ** ** > > I am using Cassandra to retrieve a number of ro

Re: MeteredFlusher in system.log entries

2012-07-07 Thread rohit bhatia
@boris https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/MeteredFlusher.java#L51 On Sun, Jul 8, 2012 at 8:44 AM, Boris Yen wrote: > I am not sure, but I think there should be only 6 memtables (max) based on > the example. 1 is active, 4 are in the queue, 1 is being