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

Jonathan Ellis commented on CASSANDRA-4218:
-------------------------------------------

enabling debug logging on org.apache.cassandra.config.DatabaseDescriptor would 
show if that last is the problem
                
> NPE thrown after switching to LeveledCompactionStrategy
> -------------------------------------------------------
>
>                 Key: CASSANDRA-4218
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4218
>             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 
> AbstractCassandraDaemon.java (line 139) Fatal exception in thread 
> Thread[CompactionExecutor:22,1,main]
> java.lang.NullPointerException
>         at java.io.File.<init>(File.java:222)
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.getTempSSTablePath(ColumnFamilyStore.java:642)
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.getTempSSTablePath(ColumnFamilyStore.java:653)
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.createCompactionWriter(ColumnFamilyStore.java:1892)
>         at 
> org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:153)
>         at 
> org.apache.cassandra.db.compaction.LeveledCompactionTask.execute(LeveledCompactionTask.java:57)
>         at 
> org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:135)
>         at 
> org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:115)
>         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)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)

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

        

Reply via email to