[ 
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11864#comment-11864
 ] 

Ivo Ladage - van Doorn commented on AMDATUCASSANDRA-130:
--------------------------------------------------------

Thinking of it, even the performance test is cheating. It invokes 
daemon.addColumnFamily directly while this should have done this by 
registration of a CF provider. The idea of creating the 'private' CF for a 
specific thread is to test the performance of a CF, which is not being used by 
anyone else. So it may be better to remove this, replace it by tests all 
working on the same CF and add more tests for more advances queries like 
getSuperColumns and getColumns.
                
> NullPointerExceptions occur during running the cassandra performance tests
> --------------------------------------------------------------------------
>
>                 Key: AMDATUCASSANDRA-130
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-130
>             Project: Amdatu Cassandra
>          Issue Type: Bug
>          Components: Cassandra daemon
>    Affects Versions: 0.2.0
>            Reporter: Ivo Ladage - van Doorn
>         Attachments: ConcurrencyTest.java
>
>
> When I run the Cassandra performance test, sometimes I get this 
> NullPointerException:
> [2011-10-18 11:05:38] ERROR: Fatal exception in thread 
> Thread[COMMIT-LOG-WRITER,5,main] [org.amdatu.core.loghandler]
> java.lang.RuntimeException: java.lang.NullPointerException
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.cassandra.db.RowMutation$RowMutationSerializer.serialize(RowMutation.java:352)
>       at 
> org.apache.cassandra.db.RowMutation.getSerializedBuffer(RowMutation.java:236)
>       at 
> org.apache.cassandra.db.commitlog.CommitLogSegment.write(CommitLogSegment.java:106)
>       at 
> org.apache.cassandra.db.commitlog.CommitLog$LogRecordAdder.run(CommitLog.java:498)
>       at 
> org.apache.cassandra.db.commitlog.PeriodicCommitLogExecutorService$1.runMayThrow(PeriodicCommitLogExecutorService.java:49)
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>       ... 1 more
> This happens randomly every now and then, but you have to run the test for a 
> long time to reproduce it. However, the problem always appears.

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

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to