cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-774) NPE during compaction
Date Sat, 06 Feb 2010 18:31:27 GMT

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

Brandon Williams commented on CASSANDRA-774:
--------------------------------------------

Yes, CASSANDRA-772 solves it.

> NPE during compaction
> ---------------------
>
>                 Key: CASSANDRA-774
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-774
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: debian lenny amd64 Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01,
mixed mode)
>            Reporter: Brandon Williams
>            Priority: Minor
>
> After an update on trunk, I restarted and began receiving this exception during compaction:
> ERROR - Error in executor futuretask
> java.util.concurrent.ExecutionException: java.io.IOException: Unable to create compaction
marker
>         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>         at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:65)
>         at org.apache.cassandra.db.CompactionManager$CompactionExecutor.afterExecute(CompactionManager.java:566)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: Unable to create compaction marker
>         at org.apache.cassandra.io.SSTableReader.markCompacted(SSTableReader.java:458)
>         at org.apache.cassandra.io.SSTableTracker.replace(SSTableTracker.java:57)
>         at org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:621)
>         at org.apache.cassandra.db.CompactionManager.doCompaction(CompactionManager.java:307)
>         at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:101)
>         at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:82)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         ... 2 more
> I restarted a few more times and now only receive this exception:
> java.util.concurrent.ExecutionException: java.lang.NullPointerException
>         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>         at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:65)
>         at org.apache.cassandra.db.CompactionManager$CompactionExecutor.afterExecute(CompactionManager.java:566)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
>         at org.apache.cassandra.io.SSTableReader.markCompacted(SSTableReader.java:460)
>         at org.apache.cassandra.io.SSTableTracker.replace(SSTableTracker.java:57)
>         at org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:621)
>         at org.apache.cassandra.db.CompactionManager.doCompaction(CompactionManager.java:307)
>         at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:101)
>         at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:82)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         ... 2 more
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message