Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10743

Failed upgradesstables (upgrade from 2.2.2 to 3.0.0)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.3, 3.3
    • Labels:
      None
    • Environment:

      CentOS Linux release 7.1.1503, OpenJDK Runtime Environment (build 1.8.0_65-b17), DSC Cassandra 3.0.0 (tar.gz)

    • Severity:
      Normal
    • Since Version:

      Description

      [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)
      

        Attachments

        1. schema.ddl
          29 kB
          Tomas Ramanauskas
        2. faulty-tables.tar.gz
          2 kB
          Gábor Auth

          Issue Links

            Activity

              People

              • Assignee:
                slebresne Sylvain Lebresne
                Reporter:
                gabor.auth Gábor Auth
                Authors:
                Sylvain Lebresne
                Reviewers:
                Benedict Elliott Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: