What version are you running ? 

> ERROR [CompactionExecutor:38] 2013-07-19 17:01:34,494 CassandraDaemon.java 
> (line 192) Exception in thread Thread[CompactionExecutor:38,1,main]
> java.lang.NullPointerException
What' the full error stack ? 

> Not sure if this is related or not, but I'm also getting a bunch of 
> AssertionErrors as well, even after running a scrub…
> 
> ERROR [CompactionExecutor:38] 2013-07-19 17:01:06,192 CassandraDaemon.java 
> (line 192) Exception in thread Thread[CompactionExecutor:38,1,main]
> java.lang.AssertionError: incorrect row data size 29502477 written to 
> /mnt/datadrive/lib/cassandra/data/fanzo/tweets_by_team/fanzo-tweets_by_team-tmp-ic-5262-Data.db;
>  correct is 29725806
Double check that the scrub was successful. 

If it's not detecting / fixing the problem look for previous log messages from 
that thread  [CompactionExecutor:38] and see what sstables it was compacting. 
Try remove those. But I would give scrub another chance to get it sorted. 

Cheers

-----------------
Aaron Morton
Cassandra Consultant
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 20/07/2013, at 5:04 AM, Paul Ingalls <paulinga...@gmail.com> wrote:

> I'm seeing a number of NullPointerExceptions in the log of my cluster.  You 
> can see the log line below.  I'm thinking this is probably bad.  Any ideas?
> 
> ERROR [CompactionExecutor:38] 2013-07-19 17:01:34,494 CassandraDaemon.java 
> (line 192) Exception in thread Thread[CompactionExecutor:38,1,main]
> java.lang.NullPointerException
> 
> Not sure if this is related or not, but I'm also getting a bunch of 
> AssertionErrors as well, even after running a scrub…
> 
> ERROR [CompactionExecutor:38] 2013-07-19 17:01:06,192 CassandraDaemon.java 
> (line 192) Exception in thread Thread[CompactionExecutor:38,1,main]
> java.lang.AssertionError: incorrect row data size 29502477 written to 
> /mnt/datadrive/lib/cassandra/data/fanzo/tweets_by_team/fanzo-tweets_by_team-tmp-ic-5262-Data.db;
>  correct is 29725806
>       at 
> org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:162)
>       at 
> org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:162)
>       at 
> org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>       at 
> org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:58)
>       at 
> org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60)
>       at 
> org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:211)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:724)
> 
> 

Reply via email to