Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
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)