cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CASSANDRA-8027) Assertion error in CompressionParameters
Date Fri, 17 Oct 2014 13:51:34 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

T Jake Luciani reopened CASSANDRA-8027:
---------------------------------------

Forgot this was affecting 2.0 as well. Patch attached with v2.0 test

> Assertion error in CompressionParameters
> ----------------------------------------
>
>                 Key: CASSANDRA-8027
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8027
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Carl Yeksigian
>            Assignee: T Jake Luciani
>             Fix For: 2.0.11, 2.1.1
>
>         Attachments: 8027.txt
>
>
> Compacting a CF with a secondary index throws an assertion error while opening readers
for the secondary index components. It is trying to update the CFMD to null because it could
not find a CFMD which describes the secondary index. The CompressionParameters are shared
between the data and the secondary indices.
> Was introduced in CASSANDRA-7978.
> {noformat}
> java.lang.AssertionError: null
> 	at org.apache.cassandra.io.compress.CompressionParameters.setLiveMetadata(CompressionParameters.java:108)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.getCompressionMetadata(SSTableReader.java:1131)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:1878)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableScanner.<init>(SSTableScanner.java:67)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1664)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1676)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.getScanners(AbstractCompactionStrategy.java:275)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.getScanners(AbstractCompactionStrategy.java:324)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:151)
~[main/:na]
> 	at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
~[main/:na]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:75)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:236)
~[main/:na]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_67]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_67]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_67]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
> {noformat}



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

Mime
View raw message