cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Whittaker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4218) NPE thrown after switching to LeveledCompactionStrategy
Date Thu, 03 May 2012 21:54:48 GMT

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

Alex Whittaker commented on CASSANDRA-4218:
-------------------------------------------

No just the single one - a bit more context around the call stack, this from the same thread:


 INFO [FlushWriter:1] 2012-05-03 21:34:53,918 Memtable.java (line 246) Writing Memtable
-PlayrUser.PlayrUser_FirstName_Index@913631246(628/785 serialized/live bytes, 14 ops)
 INFO [CompactionExecutor:10] 2012-05-03 21:34:53,927 CompactionTask.java (line 115) Co
mpacting [SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/Play
rUserData-hb-29747-Data.db'), SSTableReader(path='/opt/werinteractive/database/cassandr
a/data/IAMPLAYR/PlayrUserData-hb-29757-Data.db'), SSTableReader(path='/opt/werinteracti
ve/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29750-Data.db'), SSTableReader(pat
h='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29759-Data.db'
), SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserDa
ta-hb-29768-Data.db'), SSTableReader(path='/opt/werinteractive/database/cassandra/data/
IAMPLAYR/PlayrUserData-hb-29471-Data.db'), SSTableReader(path='/opt/werinteractive/data
base/cassandra/data/IAMPLAYR/PlayrUserData-hb-29758-Data.db'), SSTableReader(path='/opt
/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29728-Data.db'), SSTa
bleReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29762-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29745-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-27034-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29764-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29752-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29751-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29766-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hc-29865-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29774-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29740-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29441-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29324-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29767-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29734-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29760-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29761-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29755-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29754-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29546-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29743-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29776-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29742-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29769-Data.db'),
SSTableReader(path='/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUserData-hb-29775-Data.db')]
 INFO [FlushWriter:1] 2012-05-03 21:34:53,928 Memtable.java (line 283) Completed flushing
/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUser.PlayrUser_FirstName_Index-hc-2241-Data.db
(1235 bytes)
 INFO [FlushWriter:1] 2012-05-03 21:34:53,930 Memtable.java (line 246) Writing Memtable-PlayrUser.PlayrUser_LastPortal_Index@1326770967(734/917
serialized/live bytes, 16 ops)
 INFO [FlushWriter:1] 2012-05-03 21:34:53,939 Memtable.java (line 283) Completed flushing
/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUser.PlayrUser_LastPortal_Index-hc-1162-Data.db
(762 bytes)
ERROR [CompactionExecutor:10] 2012-05-03 21:34:53,941 AbstractCassandraDaemon.java (line 139)
Fatal exception in thread Thread[CompactionExecutor:10,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)
 INFO [FlushWriter:1] 2012-05-03 21:34:53,943 Memtable.java (line 246) Writing Memtable-PlayrUser.PlayrUser_OriginalPortal_Index@1535464089(628/785
serialized/live bytes, 14 ops)
 INFO [FlushWriter:1] 2012-05-03 21:34:53,955 Memtable.java (line 283) Completed flushing
/opt/werinteractive/database/cassandra/data/IAMPLAYR/PlayrUser.PlayrUser_OriginalPortal_Index-hc-1167-Data.db
(608 bytes)

There are two machines in this state, the other four are fine.
                
> 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

       

Mime
View raw message