[ 
https://issues.apache.org/jira/browse/CASSANDRA-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-1492:
--------------------------------------

    Attachment: 1492.txt

patch to switch to bytestype.

agreed that if you have this in your commitlog already, deleting the commitlog 
file is the best fix.

> Upgrade from 0.6.3 to 0.6.5, exception when replay commitlog
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-1492
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1492
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>         Environment: Linux, jdk 1.6
>            Reporter: Zhong Li
>             Fix For: 0.6.6
>
>         Attachments: 1492.txt
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to