cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Goffinet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-532) Flush creates empty SSTables if nothing exists in that CF
Date Fri, 06 Nov 2009 17:53:32 GMT

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

Chris Goffinet commented on CASSANDRA-532:
------------------------------------------

+1 looks good

> Flush creates empty SSTables if nothing exists in that CF
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-532
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-532
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Chris Goffinet
>            Assignee: Jonathan Ellis
>             Fix For: 0.5
>
>         Attachments: 532.patch
>
>
> When calling flush() through nodeprobe, we see SSTables being created that are empty
for CFs:
>  INFO [COMPACTION-POOL:1] 2009-11-05 22:58:09,515 ColumnFamilyStore.java (line 850) Compacting
[org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-9-Data.db'),org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-10-Data.db'),org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-7-Data.db'),org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-11-Data.db'),org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-8-Data.db'),org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-5-Data.db'),org.apache.cassandra.io.SSTableReader(path='/mnt/cassandra/data/Digg/Buries-6-Data.db')]
> ERROR [COMPACTION-POOL:1] 2009-11-05 22:58:09,516 DebuggableThreadPoolExecutor.java (line
120) Error in executor futuretask
> 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:112)
>         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.getApproximateKeyCount(SSTableReader.java:102)
>         at org.apache.cassandra.db.ColumnFamilyStore.doFileCompaction(ColumnFamilyStore.java:866)
>         at org.apache.cassandra.db.ColumnFamilyStore.doFileCompaction(ColumnFamilyStore.java:830)
>         at org.apache.cassandra.db.ColumnFamilyStore.doMajorCompactionInternal(ColumnFamilyStore.java:673)
>         at org.apache.cassandra.db.ColumnFamilyStore.doMajorCompaction(ColumnFamilyStore.java:645)
>         at org.apache.cassandra.db.CompactionManager$OnDemandCompactor.run(CompactionManager.java:123)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         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