cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gábor Auth (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10743) Failed upgradesstables (upgrade from 2.2.2 to 3.0.0)
Date Sat, 21 Nov 2015 08:00:20 GMT

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

Gábor Auth commented on CASSANDRA-10743:
----------------------------------------

I've tried to upgrade with the sstableupgrade tool:
{code}
[cassandra@dc01-rack01-cass02 ~]$ /home/cassandra/dsc-cassandra-3.0.0/bin/sstableupgrade gacivstest20141213
workqueueitems_by_city
WARN  07:46:30 Only 39708 MB free across all data volumes. Consider adding more capacity to
your cluster or removing obsolete snapshots
Found 1 sstables that need upgrading.
Exception in thread "main" java.lang.AssertionError: length is not > 0: 0
        at org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:408)
        at org.apache.cassandra.io.sstable.metadata.CompactionMetadata$CompactionMetadataSerializer.deserialize(CompactionMetadata.java:93)
        at org.apache.cassandra.io.sstable.metadata.CompactionMetadata$CompactionMetadataSerializer.deserialize(CompactionMetadata.java:73)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:123)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:94)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:102)
        at org.apache.cassandra.io.sstable.format.SSTableReader.getApproximateKeyCount(SSTableReader.java:256)
        at org.apache.cassandra.db.compaction.Upgrader.<init>(Upgrader.java:63)
        at org.apache.cassandra.tools.StandaloneUpgrader.main(StandaloneUpgrader.java:107)
WARN  07:46:33 Failed trySkipCache on file: dsc-cassandra-3.0.0/bin/../data/data/gacivstest20141213/workqueueitems_by_city-9873aa1082c611e48defa5ddfeca06b6/la-1542-big-Data.db
Error: Bad file descriptor
{code}

> 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
>         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
>         Attachments: schema.ddl.gz
>
>
> {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