cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <>
Subject Re: Cassandra lockup (0.6.5) on bulk write
Date Tue, 05 Oct 2010 19:43:19 GMT
The cluster looks unbalanced (assuming the Random Partitioner), did you manually assign tokens
to the nodes?  The section on Token Select here some some tips 

One of the nodes in the cluster is down. Is there anything in the log to explain why ? You
may have some other errors. 

Also want to check:
- your client has a list of all of the clients, so it could move to another if it was connected
to the down node. 
- what's the RF and what consistency level are you writing at.
- how long is the hang?
- what happening on the server while the client is hanging? e.g. is it idle or is the CPU
going crazy, swapping, iostat
- what timeout are you using with thrift?


On 06 Oct, 2010,at 07:28 AM, Jason Horman <> wrote:

We are experiencing some random hangs while importing data into
Cassandra 0.6.5. The client stack dump is below. We are using Java
Pelops with Thrift r917130. The hang seems random, sometimes millions
of records in, sometimes just a few thousand. It sort of smells like
the JIRA

Has any one else experienced this? Any advice?

Here is a dump from nodetool

Address Status Load Range
Ring 43.41 GB
25274261893111669883290654807978388961 |<--| 29.38 GB
34662916595519283353151730886201323030 | ^ 19.83 GB
45387569059876439228162547977665761954 v | 23.59 GB
105389616365686887162471812716889564402 | ^ Up 33.16 GB
148562884084359545011181864444489491335 |-->|

Here is the stack

"RMI TCP Connection(4)-" daemon prio=10
tid=0x00002aaac0194000 nid=0x53b3 runnable [0x000000004b7dc000]
   java.lang.Thread.State: RUNNABLE
at Method)
- locked <0x000000074d23e978> (a
at org.apache.thrift.transport.TTransport.readAll(
at org.apache.thrift.transport.TFramedTransport.readFrame(
at org.apache.thrift.transport.TTransport.readAll(
at org.apache.thrift.protocol.TBinaryProtocol.readAll(
at org.apache.thrift.protocol.TBinaryProtocol.readI32(
at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(
at org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(
at org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(
at org.wyki.cassandra.pelops.Mutator$1.execute(

  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message