cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-4218) NPE thrown after switching to LeveledCompactionStrategy
Date Thu, 03 May 2012 22:44:49 GMT


Jonathan Ellis resolved CASSANDRA-4218.

    Resolution: Not A Problem

If you don't have enough spare space to re-level all your sstables at once (or Cassandra thinks
you don't), you can move some of them off-server, level the rest, then copy the others back
and inject them with {{nodetool refresh}} (no restart required).  Or, maybe you have some
snapshots you can clean out to free up space.

Finally, running without -ea makes troubleshooting harder. :)
> NPE thrown after switching to LeveledCompactionStrategy
> -------------------------------------------------------
>                 Key: CASSANDRA-4218
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.5, 1.0.9
>         Environment: SunOS corbina.local 5.11 joyent_ i86pc i386 i86pc Solaris
>            Reporter: Alex Whittaker
> After running out of disk space on our six node Cassandra cluster we switched to a Levelled
Compaction Strategy. The servers began to degrade performance accruing a large number of pending
tasks - we noticed that there was a NullPointerException appearing in the system log:
> ERROR [CompactionExecutor:22] 2012-05-03 20:34:38,931 (line
139) Fatal exception in thread Thread[CompactionExecutor:22,1,main]
> java.lang.NullPointerException
>         at<init>(
>         at org.apache.cassandra.db.ColumnFamilyStore.getTempSSTablePath(
>         at org.apache.cassandra.db.ColumnFamilyStore.getTempSSTablePath(
>         at org.apache.cassandra.db.ColumnFamilyStore.createCompactionWriter(
>         at org.apache.cassandra.db.compaction.CompactionTask.execute(
>         at org.apache.cassandra.db.compaction.LeveledCompactionTask.execute(
>         at org.apache.cassandra.db.compaction.CompactionManager$
>         at org.apache.cassandra.db.compaction.CompactionManager$
>         at java.util.concurrent.FutureTask$Sync.innerRun(
>         at
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message