cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Svihla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12394) Node crashes during compaction with assertion error checking length of entries for IndexSummaryBuilder
Date Fri, 05 Aug 2016 16:19:20 GMT

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

Ryan Svihla commented on CASSANDRA-12394:
-----------------------------------------

Appears to be a dupe to https://issues.apache.org/jira/browse/CASSANDRA-12014
though it also affects 2.1.x same issue

> Node crashes during compaction with assertion error checking length of entries for IndexSummaryBuilder
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12394
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12394
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: Ryan Svihla
>            Priority: Blocker
>
> This limit appears to be arbitrarily Integer.MAX the rest of the values are all referencing
a type of long. Worse when this is encountered the node crashes. Seems to be introduced in
> https://issues.apache.org/jira/browse/CASSANDRA-8757
> Sstables are 350-440gb 
> Relevant code is https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/io/sstable/IndexSummaryBuilder.java#L171
> stack trace:
> [CompactionExecutor:47340] 2016-07-17 04:55:08,966  CassandraDaemon.java:229 - Exception
in thread Thread[CompactionExecutor:47340,1,main]
> java.lang.AssertionError: null
>         at org.apache.cassandra.io.sstable.IndexSummaryBuilder.maybeAddEntry(IndexSummaryBuilder.java:171)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.io.sstable.SSTableWriter$IndexWriter.append(SSTableWriter.java:634)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.io.sstable.SSTableWriter.afterAppend(SSTableWriter.java:179)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:205)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:126)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:197)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:73)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_51]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_51]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_51]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_51]
>         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message