cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson Chung (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2528) NPE from PrecompactedRow
Date Thu, 21 Apr 2011 22:40:05 GMT

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

Jackson Chung commented on CASSANDRA-2528:
------------------------------------------

the fix does address the NPE as now all CF has metadata.

> NPE from PrecompactedRow
> ------------------------
>
>                 Key: CASSANDRA-2528
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2528
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8 beta 1
>            Reporter: Jackson Chung
>            Assignee: Jonathan Ellis
>             Fix For: 0.8.0
>
>         Attachments: 2528.txt, 2528.txt
>
>
> received a NPE from trunk (0.8) on PrecompactedRow:
> ERROR [CompactionExecutor:2] 2011-04-21 17:21:31,610 AbstractCassandraDaemon.java (line
112) Fatal exception in thread Thread[CompactionExecutor:2,1,main]
> java.lang.NullPointerException
>         at org.apache.cassandra.io.PrecompactedRow.<init>(PrecompactedRow.java:86)
>         at org.apache.cassandra.io.CompactionIterator.getCompactedRow(CompactionIterator.java:167)
>         at org.apache.cassandra.io.CompactionIterator.getReduced(CompactionIterator.java:124)
>         at org.apache.cassandra.io.CompactionIterator.getReduced(CompactionIterator.java:44)
>         at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:74)
>         at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140)
>         at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135)
>         at org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:183)
>         at org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
>         at org.apache.cassandra.db.CompactionManager.doCompaction(CompactionManager.java:553)
>         at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:146)
>         at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:112)
>         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)
> size of data in /var/lib/cassandra is 11G on this, but there is also report that 1.7G
also see the same.
> data was previously populated from 0.7.4 cassandra
> added debug logging, not sure how much this help (this is logged before the exception.)
>  INFO [CompactionExecutor:2] 2011-04-21 17:21:31,588 CompactionManager.java (line 534)
Compacting Major: [SSTableReader(path='/var/lib/cassandra/data/cfs/inode.path-f-10-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/cfs/inode.path-f-7-Data.db'), SSTableReader(path='/var/lib/cassandra/data/cfs/inode.path-f-6-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/cfs/inode.path-f-8-Data.db'), SSTableReader(path='/var/lib/cassandra/data/cfs/inode.path-f-9-Data.db')]
> DEBUG [CompactionExecutor:2] 2011-04-21 17:21:31,588 SSTableReader.java (line 132) index
size for bloom filter calc for file  : /var/lib/cassandra/data/cfs/inode.path-f-10-Data.db
  : 256
> DEBUG [CompactionExecutor:2] 2011-04-21 17:21:31,588 SSTableReader.java (line 132) index
size for bloom filter calc for file  : /var/lib/cassandra/data/cfs/inode.path-f-7-Data.db
  : 512
> DEBUG [CompactionExecutor:2] 2011-04-21 17:21:31,588 SSTableReader.java (line 132) index
size for bloom filter calc for file  : /var/lib/cassandra/data/cfs/inode.path-f-6-Data.db
  : 768
> DEBUG [CompactionExecutor:2] 2011-04-21 17:21:31,589 SSTableReader.java (line 132) index
size for bloom filter calc for file  : /var/lib/cassandra/data/cfs/inode.path-f-8-Data.db
  : 1024
> DEBUG [CompactionExecutor:2] 2011-04-21 17:21:31,589 SSTableReader.java (line 132) index
size for bloom filter calc for file  : /var/lib/cassandra/data/cfs/inode.path-f-9-Data.db
  : 1280
>  INFO [CompactionExecutor:2] 2011-04-21 17:21:31,609 CompactionIterator.java (line 185)
Major@1181554512(cfs, inode.path, 523/10895) now compacting at 16777 bytes/ms.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message