cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8320) 2.1.2: NullPointerException in SSTableWriter
Date Sat, 29 Nov 2014 03:14:12 GMT

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

Dave Brosius commented on CASSANDRA-8320:
-----------------------------------------

Please check: SSTableRewriter: 372

finishAndThrow collects replace readers in the local collection 'toReplace'  similarly to
the finish method, but does nothing with this collection unlike the finish method. Should
it? if not, there's no reason to collect them.

> 2.1.2: NullPointerException in SSTableWriter
> --------------------------------------------
>
>                 Key: CASSANDRA-8320
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8320
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Evgeny Pasynkov
>            Assignee: Marcus Eriksson
>             Fix For: 2.1.3
>
>         Attachments: 8320.patch
>
>
> After upgrading to 2.1.2, I've got tons of these exception in log:
> java.lang.NullPointerException: null
> 	at org.apache.cassandra.io.sstable.SSTableWriter.openEarly(SSTableWriter.java:381) ~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.io.sstable.SSTableRewriter.switchWriter(SSTableRewriter.java:295)
~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.io.sstable.SSTableRewriter.abort(SSTableRewriter.java:186) ~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:204)
~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:75)
~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
~[cassandra-all-2.1.2.jar:2.1.2]
> 	at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:232)
~[cassandra-all-2.1.2.jar:2.1.2]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_60]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_60]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_60]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
> This error is prepended by the following problems:
> 12:59:59.632 [NonPeriodicTasks:1] ERROR o.a.c.io.sstable.SSTableDeletingTask - Unable
to delete E:\Upsource_11959\data\cassandra\data\system\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\system-schema_keyspaces-ka-4-Data.db
(it will be removed on server restart; we'll also retry after GC)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message