cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject Re: MurmurHash NPE during compaction
Date Fri, 22 Jun 2012 08:34:12 GMT
Thanks Aaron.

Created a ticket https://issues.apache.org/jira/browse/CASSANDRA-4367

Funnny thing is, I don't see any of the SSTables that participated in the
failed compaction.

Will do an upgradesstables and find out if problem still persists


On Mon, Jun 18, 2012 at 6:43 AM, aaron morton <aaron@thelastpickle.com>wrote:

> Can you please create a ticket on
> https://issues.apache.org/jira/browse/CASSANDRA
>
> Please include:
> * CF definition including the bloom_filter_fp_chance
> * If the data was upgraded from a previous version of cassandra.
> * The names of the files that were being compacted.
>
> As a work around you can try using nodetool upgradetables to re-write the
> files - this may also fail, but its could be worth trying.
>
> The next step would be to remove determine which files were causing the
> issue (looking at the logs) and remove them from the data directory. Then
> run repair to restore consistency.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 14/06/2012, at 11:38 PM, Ravikumar Govindarajan wrote:
>
> We received the following NPE during compaction of a large row. We are on
> cassandra-1.0.7. Need some help here to find the root cause of the issue
>
>  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)
>
> Thanks and Regards,
> Ravi
>
>
>

Mime
View raw message