You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/06/22 19:56:43 UTC

[jira] [Commented] (CASSANDRA-4367) NPE in murmur-hash

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

Jonathan Ellis commented on CASSANDRA-4367:
-------------------------------------------

Also: if you have turned assertions off, please re-enable them.
                
> NPE in murmur-hash
> ------------------
>
>                 Key: CASSANDRA-4367
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4367
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.7
>         Environment: GNU/Linux 2.6.18, 64-bit JDK 1.6.0_02-b05, Cassandra 1.0.7 NTS
>            Reporter: Ravikumar
>            Priority: Minor
>
> We were running nodetool repair -pr <ZMail> <MsgConvMapper> and received the following error during a compaction
>  INFO [CompactionExecutor:595] 2012-06-13 08:46:59,927 CompactionTask.java (line 113) Compacting [SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-183-Data.db'), SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-185-Data.db'), SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-171-Data.db'), SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-182-Data.db')]
>  INFO [CompactionExecutor:595] 2012-06-13 09:39:58,570 CompactionController.java (line 133) Compacting large row ZMail/MsgConvMapper:691000001157001 (81190450 bytes) incrementally
> ERROR [CompactionExecutor:595] 2012-06-13 09:44:46,718 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[CompactionExecutor:595,1,main]
> java.lang.NullPointerException
>         at org.apache.cassandra.utils.MurmurHash.hash64(MurmurHash.java:102)
>         at org.apache.cassandra.utils.BloomFilter.getHashBuckets(BloomFilter.java:103)
>         at org.apache.cassandra.utils.BloomFilter.getHashBuckets(BloomFilter.java:92)
>         at org.apache.cassandra.utils.BloomFilter.add(BloomFilter.java:114)
>         at org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:96)
>         at org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:51)
>         at org.apache.cassandra.db.compaction.PrecompactedRow.write(PrecompactedRow.java:135)
>         at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>         at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:159)
>         at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:134)
>         at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:114)
>         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:885)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)
> The CF Def is:
> Keyspace: ZMail:
>   Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
>   Durable Writes: true
>     Options: [DC2:2, DC1:3]
>   Column Families:
>     ColumnFamily: MsgConvMapper (Super)
>       Key Validation Class: org.apache.cassandra.db.marshal.LongType
>       Default column value validator: org.apache.cassandra.db.marshal.BytesType
>       Columns sorted by: org.apache.cassandra.db.marshal.LongType/org.apache.cassandra.db.marshal.BytesType
>       Row cache size / save period in seconds / keys to save : 0.0/0/all
>       Row Cache Provider: org.apache.cassandra.cache.SerializingCacheProvider
>       Key cache size / save period in seconds: 200000.0/14400
>       GC grace seconds: 1209600
>       Compaction min/max thresholds: 4/32
>       Read repair chance: 1.0
>       Replicate on write: true
>       Bloom Filter FP chance: default
>       Built indexes: []
>       Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
> I do not see those any of those SSTables in disk, that participated in the above failed compaction.

--
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