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

Upgrade from 0.6.3 to 0.6.5, exception when replay commitlog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.6.6
    • None
    • None
    • Linux, jdk 1.6

    • Normal

    Description

      When start cassandra 0.6.5 with commitlog of 0.6.3, got exception when replay the commitlog.

      ERROR 15:14:16,174 Exception encountered during startup.
      org.apache.cassandra.db.marshal.MarshalException: invalid UTF8 bytes [-84, 16, 10, -105]
      at org.apache.cassandra.db.marshal.UTF8Type.getString(UTF8Type.java:43)
      at org.apache.cassandra.db.Column.getString(Column.java:215)
      at org.apache.cassandra.db.marshal.AbstractType.getColumnsString(AbstractType.java:85)
      at org.apache.cassandra.db.ColumnFamily.toString(ColumnFamily.java:334)
      at org.apache.commons.lang.ObjectUtils.toString(ObjectUtils.java:241)
      at org.apache.commons.lang.StringUtils.join(StringUtils.java:3073)
      at org.apache.commons.lang.StringUtils.join(StringUtils.java:3133)
      at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:241)
      at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:173)
      at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:114)
      at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:214)

      Attachments

        1. 1492.txt
          1 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            apache.zli Zhong Li
            Jonathan Ellis
            Gary Dusbabek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: