Igor,
Writing your own JMX client is not that difficult.
The natural language to write JMX clients is Java, but if you prefer to
use your favourite language like Python or Ruby, there is a 'natural'
way too.
For python, you could use 'jython' http://jython.org
You can then look at sample
Hello, I' doing some tests with Cassandra, but I get a very slow performance,
it does 100.000 inserts in 215 seconds while mysql takes 79 secs
The code below is the one I'm using, is there anything wrong with my Cassandra
or java understanding?
The configuration-file params are the default ones.
I had the same issue using a single thread but now I multi-thread the
batch_insert calls using a java.util.concurrent.ThreadPoolExecutor (wrapped
in some Scala syntactic sugar) and get good write performance.
-Tim
On Thu, Nov 19, 2009 at 5:34 AM, Jonathan Ellis jbel...@gmail.com wrote:
your
I've seen also. Sometimes it seems random and retrying the call works (I
think it might have happened during a compaction). If I try doing a
batch_insert on a key with more than 200,000 columns (or so) I always get
this exception and have to break the inserts into smaller chunks.
-Tim
On Wed,
can you share code on how to split columns in cassdict or batch_insert?
thanks
On Thu, Nov 19, 2009 at 8:15 AM, Tim Underwood timunderw...@gmail.comwrote:
I've seen also. Sometimes it seems random and retrying the call works (I
think it might have happened during a compaction). If I try
There's an example on http://wiki.apache.org/cassandra/ClientExamples for PHP.
Python shouldn't be too different.
From: mobiledream...@gmail.com [mailto:mobiledream...@gmail.com]
Sent: Thursday, November 19, 2009 11:41 AM
To: cassandra-user@incubator.apache.org
Subject: thrift example for
I'm using Scala with my own Cassandra client and the splitting code was
hacked in to get around the exception. So I'm not sure if my code will help
or not but it's basically:
===
var row = TheColumnFamily(key)
var count = 0
// dataToInsert is a map of
oh interesting, it uses IP for hinted hand off? which brings up
another interesting question, if the node that went down never came up
again, how long will the hinted handoff keep going? Indefinitely?
On the first topic of backup/restore, you suggested copying the
sstable files over from the 2
So, is there anyway to recover if you can't guarantee the same IP address?
Since we are running on EC2 (as I'm sure are others on the list), and there
is no way to make this guarantee.
Is this sort of recoverability on the roadmap anywhere?
Thanks,
-Anthony
On Wed, Nov 18, 2009 at 01:50:20PM
Currently, no. Feel free to open a ticket. It would be fairly easy
to make the decommission code in trunk handle this.
On Thu, Nov 19, 2009 at 1:13 PM, Anthony Molinaro
antho...@alumni.caltech.edu wrote:
So, is there anyway to recover if you can't guarantee the same IP address?
Since we are
I'm not going to be on Amazon, but I'm planning to use hostnames instead of
IP's and a dynamically generated /etc/hosts file and I think that would deal
with this problem. I'm sure a private DNS server would be just as good.
My real motive in saying this is so someone will scream at me if I'm
On Thu, Nov 19, 2009 at 1:18 PM, Freeman, Tim tim.free...@hp.com wrote:
I'm not going to be on Amazon, but I'm planning to use hostnames instead of
IP's and a dynamically generated /etc/hosts file and I think that would deal
with this problem. I'm sure a private DNS server would be just as
Done, https://issues.apache.org/jira/browse/CASSANDRA-564
On Thu, Nov 19, 2009 at 01:17:16PM -0600, Jonathan Ellis wrote:
Currently, no. Feel free to open a ticket. It would be fairly easy
to make the decommission code in trunk handle this.
On Thu, Nov 19, 2009 at 1:13 PM, Anthony Molinaro
I am getting a syn flooding warning - is this something that anyone else has
encountered
tail -f /var/log/messages
Nov 19 12:28:33 server kernel: possible SYN flooding on port 9160. Sending
cookies.
Nov 19 12:29:34 server kernel: possible SYN flooding on port 9160. Sending
cookies.
Nov 19
Thanks!
On Thu, Nov 19, 2009 at 3:51 PM, Mark Robson mar...@gmail.com wrote:
Hi All,
I have been quite amazed at the rate of development of Cassandra - only a
few months ago I was playing with the (relatively) limited 0.3 version, now
a lot of the bugs - even the really tricky ones have been
I'm doing some testing with build 881977. I have setup a 3 node cluster
with ReplicationFactor = 2, reads using ConsistencyLevel.ONE, and writes
using ConsistencyLevel.QUORUM. If I take one node out of the cluster,
then do some writes I would expect that all the writes would succeed
because I
This sounds like a bug that was fixed in trunk. Could you retest with
that code?
-Jonathan
On Thu, Nov 19, 2009 at 4:49 PM, B. Todd Burruss bburr...@real.com wrote:
I'm doing some testing with build 881977. I have setup a 3 node cluster
with ReplicationFactor = 2, reads using
still happens. i just downloaded 882359 from subversion.
thx!
On Thu, 2009-11-19 at 16:58 -0600, Jonathan Ellis wrote:
This sounds like a bug that was fixed in trunk. Could you retest with
that code?
-Jonathan
On Thu, Nov 19, 2009 at 4:49 PM, B. Todd Burruss bburr...@real.com wrote:
Oh, sorry -- I didn't read your description closely at first. Yes,
with RF=2, quorum (RF/2 + 1) is still 2. That is why 3 is really the
minimum RF for quorum to be useful.
On Thu, Nov 19, 2009 at 6:46 PM, B. Todd Burruss bburr...@real.com wrote:
still happens. i just downloaded 882359 from
19 matches
Mail list logo