Hi
I think someone ask already similar but can't find where.
On 1 machine standalone I insert data I get ~850 rows / second
On another machine I make exactly the same operation I get ~900/1000 rows /
second
Now I remove all the data from the 2 machines. Take exactly the same
storage-conf.xml
Sounds like you are using a single thread, so the increased latency is
artificially reducing your numbers. Add more threads (stress.py uses
50 by default) to get more throughput. (Also true even for a single
node, but more noticable when you add network overhead to the
cluster.)
-Jonathan
On
On Wed, Dec 16, 2009 at 1:20 AM, mail.list.steel.men...@gmail.com wrote:
1. Does anyone know how to locate all replica(on which node) of one key (for
monitor purpose)? Or any API can use?
StorageService.getNaturalEndpoints(StorageService.getPartitioner().getToken(key))
will do that, but it's
Fair enough, Jonathan. I actually just tracked it down -- the problem
was between my keyboard and my chair as usual. I neglected to comment
out the following call on my SlicePredicate:
sp.setColumn_names(Arrays.asList(toBytes(my_column_name)));
That call made sense for columns, but not for
We are observing increasing number of TimedOutExceptions in cassandra
0.5 trunk although the load seems fairly low (about 400 reads/writes
per second).
cfstats reports that operations are taking less than 2 ms on average.
2 Things I have noticed looking at the source code.
1- TimedOutExceptions
I've the same requirement but in my case the date is the key of the CF so
how to use the timeUUID if the date is the key and not a column ??
On Wed, Dec 16, 2009 at 8:29 PM, Jonathan Ellis jbel...@gmail.com wrote:
On Wed, Dec 16, 2009 at 12:15 PM, Adam Fisk a...@littleshoot.org wrote:
That
On Wed, Dec 16, 2009 at 12:46 PM, Ramzi Rabah rra...@playdom.com wrote:
We are observing increasing number of TimedOutExceptions in cassandra
0.5 trunk although the load seems fairly low (about 400 reads/writes
per second).
cfstats reports that operations are taking less than 2 ms on average.
On Wed, Dec 16, 2009 at 12:34 AM, Brandon Williams dri...@gmail.com wrote:
On Tue, Dec 15, 2009 at 5:19 PM, Brian Burruss bburr...@real.com wrote:
can the cassandra client (java specifically) specify that a particular
put should be create only, do not update? If the value already exists
in
On Dec 16, 2009, at 22:31, gabriele renzi wrote:
On Wed, Dec 16, 2009 at 12:34 AM, Brandon Williams dri...@gmail.com wrote:
On Tue, Dec 15, 2009 at 5:19 PM, Brian Burruss bburr...@real.com wrote:
can the cassandra client (java specifically) specify that a particular
put should be create
On Wed, Dec 16, 2009 at 2:31 PM, gabriele renzi rff@gmail.com wrote:
is there a fundamental reason for not being able to provide a
putIfAbsent-like abstraction in cassandra?
Yes: there is no global master to serialize operations from multiple clients.
You can either write a TimeUUID Partitioner, if that is the only kind
of key you have in your cluster, or use a different partitioner and
prefix the keys w/ a date in a format that sorts correctly in whatever
collation you are using, e.g. ISO 8601 for our standard
OrderedPartitioner.
On Wed, Dec
Hi,
So I seem to recall some sort of issues with the 0.2.0 release of thrift
and cassandra. Were those ever resolved? Is it safe to use them together?
Has anyone tested them?
Thanks,
-Anthony
--
Anthony Molinaro
Would you accept a patch that fixes the Cassandra impl? Least we can do.
On Dec 16, 2009, at 4:37 PM, Jonathan Ellis jbel...@gmail.com wrote:
0.2 shipped with a regression that breaks Cassandra's internal use of
thrift (https://issues.apache.org/jira/browse/THRIFT-529), so
Cassandra devs
On Wed, Dec 16, 2009 at 10:16 PM, Jonathan Ellis jbel...@gmail.com wrote:
On Wed, Dec 16, 2009 at 2:31 PM, gabriele renzi rff@gmail.com wrote:
is there a fundamental reason for not being able to provide a
putIfAbsent-like abstraction in cassandra?
Yes: there is no global master to
sorry, thought i included everything ;)
however, i am using beta2
From: Jonathan Ellis [jbel...@gmail.com]
Sent: Wednesday, December 16, 2009 3:18 PM
To: cassandra-user@incubator.apache.org
Subject: Re: OOM Exception
What version are you using? 0.5
attached ... the log starts when i restarted server. notice that not too far
into it is when the other node went down because of OOM and i restarted it as
well.
From: Jonathan Ellis [jbel...@gmail.com]
Sent: Wednesday, December 16, 2009 4:53 PM
To:
Definitely. Against 0.9 right?
On Wed, Dec 16, 2009 at 10:29 AM, Jonathan Ellis jbel...@gmail.com wrote:
On Wed, Dec 16, 2009 at 12:15 PM, Adam Fisk a...@littleshoot.org wrote:
That call made sense for columns, but not for SuperColumns of course,
and that was the culprit. Ideally the various
Thank you Jonathan!!
-END--
-Original Message-
From: Jonathan Ellis [mailto:jbel...@gmail.com]
Sent: Wednesday, December 16, 2009 11:05 PM
To: cassandra-user@incubator.apache.org
Subject: Re: tool to locate all replica of one key
On Wed, Dec 16, 2009 at 1:20 AM,
18 matches
Mail list logo