[ 
https://issues.apache.org/jira/browse/CASSANDRA-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564424#comment-13564424
 ] 

André Borgqvist edited comment on CASSANDRA-5191 at 1/28/13 8:46 PM:
---------------------------------------------------------------------

I'll try write a test program to reproduce the fault.

The basic use case is that we have about 100-200 million rows in the database. 
We then simulate usage our application that will cause inserts of columns, 
deletes of columns and deletes of rows. The simulated usage is run toward both 
nodes in the cluster at about 2000 requests/second. After 5-15 minutes the 
fault appears and cassandra must be restarted.

One noteable thing is that the fault only ever happened on one of the nodes 
(the second) in the cluster. Suspecting hardware fault we replaced that node 
only to have the fault appear on the new node. But never on node 1.

                
      was (Author: andbor):
    I'm working on a test program to reproduce.
                  
> BufferOverflowException in CommitLogSegment
> -------------------------------------------
>
>                 Key: CASSANDRA-5191
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5191
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.9
>         Environment: RHEL 2.6.32-220.el6.x86_64, jdk1.6.0_27
>            Reporter: André Borgqvist
>
> Running mixed reads, writes and deletes on a single column family in a two 
> node cluster. After a few minutes the following appears in the system log:
> ERROR [COMMIT-LOG-WRITER] 2013-01-25 12:49:55,955 
> AbstractCassandraDaemon.java (line 135) Exception in thread 
> Thread[COMMIT-LOG-WRITER,5,main]
> java.nio.BufferOverflowException
>       at java.nio.Buffer.nextPutIndex(Buffer.java:499)
>       at java.nio.DirectByteBuffer.putLong(DirectByteBuffer.java:756)
>       at 
> org.apache.cassandra.db.commitlog.CommitLogSegment.write(CommitLogSegment.java:265)
>       at 
> org.apache.cassandra.db.commitlog.CommitLog$LogRecordAdder.run(CommitLog.java:382)
>       at 
> org.apache.cassandra.db.commitlog.PeriodicCommitLogExecutorService$1.runMayThrow(PeriodicCommitLogExecutorService.java:50)
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>       at java.lang.Thread.run(Thread.java:662)
> Possibly related to https://issues.apache.org/jira/browse/CASSANDRA-3615

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to