cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10738) upgrading to v3.0.0 nodes crashes with "org.apache.cassandra.serializers.MarshalException: Unexpected extraneous bytes after map value"
Date Tue, 24 Nov 2015 00:25:11 GMT

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

cs commented on CASSANDRA-10738:
--------------------------------

additionally, using the snapshots from the data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/snapshots/
still results in:

DEBUG [SSTableBatchOpen:1] 2015-11-24 00:16:40,298 SSTableReader.java:470 - Opening /var/lib/cassandra/data/system_schema/indexes-0feb57ac311f382fba6d9024d305702f/ma-1-big
(51 bytes)
ERROR [main] 2015-11-24 00:16:40,311 CassandraDaemon.java:702 - Exception encountered during
startup
java.lang.IllegalArgumentException: null
        at java.nio.Buffer.limit(Buffer.java:275) ~[na:1.8.0_45]
        at org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:611) ~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.utils.ByteBufferUtil.readBytesWithShortLength(ByteBufferUtil.java:620)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.marshal.CompositeType.extractComponent(CompositeType.java:231)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.LegacyLayout.decodeCellName(LegacyLayout.java:142) ~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.LegacyLayout.readLegacyCellBody(LegacyLayout.java:1002)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.LegacyLayout.readLegacyAtom(LegacyLayout.java:956) ~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.UnfilteredDeserializer$OldFormatDeserializer$AtomIterator.readAtom(UnfilteredDeserializer.java:520)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.UnfilteredDeserializer$OldFormatDeserializer$AtomIterator.hasNext(UnfilteredDeserializer.java:503)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.UnfilteredDeserializer$OldFormatDeserializer$UnfilteredIterator.hasNext(UnfilteredDeserializer.java:412)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.UnfilteredDeserializer$OldFormatDeserializer.hasNext(UnfilteredDeserializer.java:289)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.columniterator.AbstractSSTableIterator.readStaticRow(AbstractSSTableIterator.java:147)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.columniterator.AbstractSSTableIterator.<init>(AbstractSSTableIterator.java:103)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.columniterator.SSTableIterator.<init>(SSTableIterator.java:46)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.io.sstable.format.big.BigTableReader.iterator(BigTableReader.java:69)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:333)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:76)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.cql3.statements.SelectStatement.process(SelectStatement.java:610)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.cql3.statements.SelectStatement.processResults(SelectStatement.java:371)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:387)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:76)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.cql3.QueryProcessor.executeInternal(QueryProcessor.java:294)
~[apache-cassandra-3.0.0.jar:3.0.0]
        at org.apache.cassandra.schema.SchemaKeyspace.query(SchemaKeyspace.java:1238) ~[apache-cassandra-3.0.0.jar:3.0.0]


> upgrading to v3.0.0 nodes crashes with "org.apache.cassandra.serializers.MarshalException:
Unexpected extraneous bytes after map value"
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10738
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10738
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: ubuntu14, java8
>            Reporter: cs
>            Assignee: Aleksey Yeschenko
>         Attachments: cassv3.txt
>
>
> upgrading from v.2.2.3 to v3.0.0
> restarting after upgrade crashes with either
> ERROR [main] 2015-11-19 20:21:26,511 CassandraDaemon.java:702 - Exception encountered
during startup
> org.apache.cassandra.serializers.MarshalException: Unexpected extraneous bytes after
map value
> OR 
> ERROR [main] 2015-11-19 20:01:13,945 CassandraDaemon.java:702 - Exception encountered
during startup
> java.lang.IllegalArgumentException: null
> see attached debug and schema



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

Mime
View raw message