cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10743) Failed upgradesstables (upgrade from 2.2.2 to 3.0.0)
Date Mon, 11 Jan 2016 14:25:40 GMT

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

Sylvain Lebresne commented on CASSANDRA-10743:
----------------------------------------------

I've been able to reproduce this with the dtest [here|https://github.com/pcmanus/cassandra-dtest/commit/060aa6d0e6383373f7515ed726769a801d21e5f8].
Basically, this happens when a sstable index block finish in the middle of a collection tombstone.
Unfortunately, that dtest is part of my local branch that was supposed to be merged to the
dtests in CASSANDRA-10563 but that hasn't happen yet to the best of my knowledge. I have verified
however that 1) this reproduce the problem when upgrading from 2.1 everytime on the current
3.0 branch and 2) this work properly with the attached patches:
|| patch || utests || dtests ||
| [3.0|https://github.com/pcmanus/cassandra/commits/10743-3.0] | [utests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10743-3.0-testall/1/]
| [dtests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10743-3.0-dtest/1/]
|
| [3.3|https://github.com/pcmanus/cassandra/commits/10743-3.3] | [utests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10743-3.3-testall/1/]
| [dtests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10743-3.3-dtest/1/]
|
| [trunk|https://github.com/pcmanus/cassandra/commits/10743-trunk] | [utests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10743-trunk-testall/1/]
| [dtests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10743-trunk-dtest/1/]
|

I've just re-started the tests on all branches (in part because I just rebased) but had a
successful run for the 3.0 branch of the patch so I think we're good here.


> Failed upgradesstables (upgrade from 2.2.2 to 3.0.0)
> ----------------------------------------------------
>
>                 Key: CASSANDRA-10743
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10743
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local Write-Read Paths
>         Environment: CentOS Linux release 7.1.1503, OpenJDK Runtime Environment (build
1.8.0_65-b17), DSC Cassandra 3.0.0 (tar.gz)
>            Reporter: Gábor Auth
>            Assignee: Sylvain Lebresne
>             Fix For: 3.0.x, 3.x
>
>         Attachments: faulty-tables.tar.gz, schema.ddl
>
>
> {code}
> [cassandra@dc01-rack01-cass01 ~]$ /home/cassandra/dsc-cassandra-3.0.0/bin/nodetool upgradesstables
> error: null
> -- StackTrace --
> java.lang.UnsupportedOperationException
>         at org.apache.cassandra.db.rows.CellPath$EmptyCellPath.get(CellPath.java:143)
>         at org.apache.cassandra.db.marshal.CollectionType$CollectionPathSerializer.serializedSize(CollectionType.java:226)
>         at org.apache.cassandra.db.rows.BufferCell$Serializer.serializedSize(BufferCell.java:325)
>         at org.apache.cassandra.db.rows.UnfilteredSerializer.sizeOfComplexColumn(UnfilteredSerializer.java:297)
>         at org.apache.cassandra.db.rows.UnfilteredSerializer.serializedRowBodySize(UnfilteredSerializer.java:282)
>         at org.apache.cassandra.db.rows.UnfilteredSerializer.serialize(UnfilteredSerializer.java:163)
>         at org.apache.cassandra.db.rows.UnfilteredSerializer.serialize(UnfilteredSerializer.java:108)
>         at org.apache.cassandra.db.ColumnIndex$Builder.add(ColumnIndex.java:144)
>         at org.apache.cassandra.db.ColumnIndex$Builder.build(ColumnIndex.java:112)
>         at org.apache.cassandra.db.ColumnIndex.writeAndBuildIndex(ColumnIndex.java:52)
>         at org.apache.cassandra.io.sstable.format.big.BigTableWriter.append(BigTableWriter.java:149)
>         at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:121)
>         at org.apache.cassandra.db.compaction.writers.DefaultCompactionWriter.realAppend(DefaultCompactionWriter.java:57)
>         at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.append(CompactionAwareWriter.java:110)
>         at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:182)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>         at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78)
>         at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60)
>         at org.apache.cassandra.db.compaction.CompactionManager$5.execute(CompactionManager.java:397)
>         at org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:292)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



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

Mime
View raw message