incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Stigbäck <fredrik.l.stigb...@sitevision.se>
Subject Re: NullPointerException doing cleanup
Date Tue, 13 Sep 2011 11:24:36 GMT
Thanks.
Will upgrade to 0.8.5.

Regards
/Fredrik

2011/9/13 Sylvain Lebresne <sylvain@datastax.com>

> This should be fixed in 0.8.5 (more precisely by
> https://issues.apache.org/jira/browse/CASSANDRA-3039)
>
> --
> Sylvain
>
> On Tue, Sep 13, 2011 at 12:53 PM, Fredrik Stigbäck
> <fredrik.l.stigback@sitevision.se> wrote:
> > Trying to do a nodetool cleanup but gets a NullPointerException.
> > I've done some debugging and found out that the property
> > org.apache.cassandra.db.compaction.PrecompactedRow.compactedCf is
> > initilaized to null since
> > ColumnFamilyStore.removeDeleted(ColumnFamily, int) returns null which I
> > interpret as the row is marked for delete and has no columns.
> > This will cause org.apache.cassandra.db.ColumnIndexer.serializeInternal
> to
> > get a IIterableColumns == null.
> > Any ideas? Corrupted SStable or a bug or something else?
> > Running Cassandra 0.8.4 on a Windows 7 but have seen the same behaviour
> on
> > Linux.
> >
> > 09:09:50 ERROR [AbstractCassandraDaemon] [] Fatal exception in thread
> > Thread[CompactionExecutor:8,1,main]
> > java.lang.NullPointerException
> >         at
> >
> org.apache.cassandra.db.ColumnIndexer.serializeInternal(ColumnIndexer.java:60)
> >         at
> > org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:50)
> >         at
> >
> org.apache.cassandra.db.compaction.PrecompactedRow.write(PrecompactedRow.java:110)
> >         at
> >
> org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:132)
> >         at
> >
> org.apache.cassandra.db.compaction.CompactionManager.doCleanupCompaction(CompactionManager.java:866)
> >         at
> >
> org.apache.cassandra.db.compaction.CompactionManager.access$500(CompactionManager.java:65)
> >         at
> >
> org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:204)
> >         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)
> >
> > /Regards Fredrik
> >
> >
>



-- 
Fredrik Larsson Stigbäck
SiteVision AB Vasagatan 10, 107 10 Örebro
019-17 30 30

Mime
View raw message