You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ramesh Natarajan <ra...@gmail.com> on 2011/12/06 00:52:10 UTC

AssertionError in hintedhandoff - 1.0.5

Hi,

 We are running a 8 node cassandra cluster running cassandra 1.0.5.
All our CF use leveled compaction.  We ran a test where we did a lot
of inserts for 3 days. After that we started to run tests where some
of the reads could ask for information that was inserted a while back.
 In this scenario we are seeing this assertion error in HintedHandoff.
 Is this a known issue?

ERROR [HintedHandoff:3] 2011-12-05 15:42:04,324
AbstractCassandraDaemon.java (line 133) Fatal exception in thread
Thread[HintedHandoff:3,1,main]
java.lang.RuntimeException: java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.AssertionError:
originally calculated column size of 470937164 but now it is 470294247
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
	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)
Caused by: java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.AssertionError:
originally calculated column size of 470937164 but now it is 470294247
	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
	at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
	at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:353)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
	... 3 more
Caused by: java.util.concurrent.ExecutionException:
java.lang.AssertionError: originally calculated column size of
470937164 but now it is 470294247
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:326)
	... 6 more
Caused by: java.lang.AssertionError: originally calculated column size
of 470937164 but now it is 470294247
	at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
	at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
	at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	... 3 more
ERROR [HintedHandoff:3] 2011-12-05 15:42:04,333
AbstractCassandraDaemon.java (line 133) Fatal exception in thread
Thread[HintedHandoff:3,1,main]
java.lang.RuntimeException: java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.AssertionError:
originally calculated column size of 470937164 but now it is 470294247
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
	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)
Caused by: java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.AssertionError:
originally calculated column size of 470937164 but now it is 470294247
	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
	at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
	at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:353)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
	... 3 more
Caused by: java.util.concurrent.ExecutionException:
java.lang.AssertionError: originally calculated column size of
470937164 but now it is 470294247
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:326)
	... 6 more
Caused by: java.lang.AssertionError: originally calculated column size
of 470937164 but now it is 470294247
	at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
	at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
	at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	... 3 more
ERROR [CompactionExecutor:9931] 2011-12-05 15:42:04,333
AbstractCassandraDaemon.java (line 133) Fatal exception in thread
Thread[CompactionExecutor:9931,1,main]
java.lang.AssertionError: originally calculated column size of
470937164 but now it is 470294247
	at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
	at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
	at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
	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)

Attached is the system.log file.

thanks
Ramesh

Re: AssertionError in hintedhandoff - 1.0.5

Posted by Ramesh Natarajan <ra...@gmail.com>.
https://issues.apache.org/jira/browse/CASSANDRA-3579

thanks
Ramesh


On Tue, Dec 6, 2011 at 2:16 AM, Sylvain Lebresne <sy...@datastax.com> wrote:
> Do you mind opening a ticket on
> https://issues.apache.org/jira/browse/CASSANDRA ?
>
> Thanks
>
> --
> Sylvain
>
> On Tue, Dec 6, 2011 at 12:52 AM, Ramesh Natarajan <ra...@gmail.com> wrote:
>> Hi,
>>
>>  We are running a 8 node cassandra cluster running cassandra 1.0.5.
>> All our CF use leveled compaction.  We ran a test where we did a lot
>> of inserts for 3 days. After that we started to run tests where some
>> of the reads could ask for information that was inserted a while back.
>>  In this scenario we are seeing this assertion error in HintedHandoff.
>>  Is this a known issue?
>>
>> ERROR [HintedHandoff:3] 2011-12-05 15:42:04,324
>> AbstractCassandraDaemon.java (line 133) Fatal exception in thread
>> Thread[HintedHandoff:3,1,main]
>> java.lang.RuntimeException: java.lang.RuntimeException:
>> java.util.concurrent.ExecutionException: java.lang.AssertionError:
>> originally calculated column size of 470937164 but now it is 470294247
>>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
>>        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)
>> Caused by: java.lang.RuntimeException:
>> java.util.concurrent.ExecutionException: java.lang.AssertionError:
>> originally calculated column size of 470937164 but now it is 470294247
>>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
>>        at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
>>        at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:353)
>>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>>        ... 3 more
>> Caused by: java.util.concurrent.ExecutionException:
>> java.lang.AssertionError: originally calculated column size of
>> 470937164 but now it is 470294247
>>        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>>        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:326)
>>        ... 6 more
>> Caused by: java.lang.AssertionError: originally calculated column size
>> of 470937164 but now it is 470294247
>>        at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
>>        at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>>        at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
>>        at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>        ... 3 more
>> ERROR [HintedHandoff:3] 2011-12-05 15:42:04,333
>> AbstractCassandraDaemon.java (line 133) Fatal exception in thread
>> Thread[HintedHandoff:3,1,main]
>> java.lang.RuntimeException: java.lang.RuntimeException:
>> java.util.concurrent.ExecutionException: java.lang.AssertionError:
>> originally calculated column size of 470937164 but now it is 470294247
>>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
>>        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)
>> Caused by: java.lang.RuntimeException:
>> java.util.concurrent.ExecutionException: java.lang.AssertionError:
>> originally calculated column size of 470937164 but now it is 470294247
>>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
>>        at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
>>        at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:353)
>>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>>        ... 3 more
>> Caused by: java.util.concurrent.ExecutionException:
>> java.lang.AssertionError: originally calculated column size of
>> 470937164 but now it is 470294247
>>        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>>        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:326)
>>        ... 6 more
>> Caused by: java.lang.AssertionError: originally calculated column size
>> of 470937164 but now it is 470294247
>>        at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
>>        at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>>        at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
>>        at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>        ... 3 more
>> ERROR [CompactionExecutor:9931] 2011-12-05 15:42:04,333
>> AbstractCassandraDaemon.java (line 133) Fatal exception in thread
>> Thread[CompactionExecutor:9931,1,main]
>> java.lang.AssertionError: originally calculated column size of
>> 470937164 but now it is 470294247
>>        at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
>>        at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>>        at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
>>        at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
>>        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)
>>
>> Attached is the system.log file.
>>
>> thanks
>> Ramesh

Re: AssertionError in hintedhandoff - 1.0.5

Posted by Sylvain Lebresne <sy...@datastax.com>.
Do you mind opening a ticket on
https://issues.apache.org/jira/browse/CASSANDRA ?

Thanks

--
Sylvain

On Tue, Dec 6, 2011 at 12:52 AM, Ramesh Natarajan <ra...@gmail.com> wrote:
> Hi,
>
>  We are running a 8 node cassandra cluster running cassandra 1.0.5.
> All our CF use leveled compaction.  We ran a test where we did a lot
> of inserts for 3 days. After that we started to run tests where some
> of the reads could ask for information that was inserted a while back.
>  In this scenario we are seeing this assertion error in HintedHandoff.
>  Is this a known issue?
>
> ERROR [HintedHandoff:3] 2011-12-05 15:42:04,324
> AbstractCassandraDaemon.java (line 133) Fatal exception in thread
> Thread[HintedHandoff:3,1,main]
> java.lang.RuntimeException: java.lang.RuntimeException:
> java.util.concurrent.ExecutionException: java.lang.AssertionError:
> originally calculated column size of 470937164 but now it is 470294247
>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
>        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)
> Caused by: java.lang.RuntimeException:
> java.util.concurrent.ExecutionException: java.lang.AssertionError:
> originally calculated column size of 470937164 but now it is 470294247
>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
>        at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
>        at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:353)
>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>        ... 3 more
> Caused by: java.util.concurrent.ExecutionException:
> java.lang.AssertionError: originally calculated column size of
> 470937164 but now it is 470294247
>        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:326)
>        ... 6 more
> Caused by: java.lang.AssertionError: originally calculated column size
> of 470937164 but now it is 470294247
>        at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
>        at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>        at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
>        at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        ... 3 more
> ERROR [HintedHandoff:3] 2011-12-05 15:42:04,333
> AbstractCassandraDaemon.java (line 133) Fatal exception in thread
> Thread[HintedHandoff:3,1,main]
> java.lang.RuntimeException: java.lang.RuntimeException:
> java.util.concurrent.ExecutionException: java.lang.AssertionError:
> originally calculated column size of 470937164 but now it is 470294247
>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
>        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)
> Caused by: java.lang.RuntimeException:
> java.util.concurrent.ExecutionException: java.lang.AssertionError:
> originally calculated column size of 470937164 but now it is 470294247
>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
>        at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
>        at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:353)
>        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>        ... 3 more
> Caused by: java.util.concurrent.ExecutionException:
> java.lang.AssertionError: originally calculated column size of
> 470937164 but now it is 470294247
>        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:326)
>        ... 6 more
> Caused by: java.lang.AssertionError: originally calculated column size
> of 470937164 but now it is 470294247
>        at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
>        at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>        at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
>        at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        ... 3 more
> ERROR [CompactionExecutor:9931] 2011-12-05 15:42:04,333
> AbstractCassandraDaemon.java (line 133) Fatal exception in thread
> Thread[CompactionExecutor:9931,1,main]
> java.lang.AssertionError: originally calculated column size of
> 470937164 but now it is 470294247
>        at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:124)
>        at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160)
>        at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:158)
>        at org.apache.cassandra.db.compaction.CompactionManager$6.call(CompactionManager.java:275)
>        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)
>
> Attached is the system.log file.
>
> thanks
> Ramesh