[
https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthew F. Dennis updated CASSANDRA-1274:
-----------------------------------------
Attachment: 1274-0.6.patch
1274-trunk.patch
one line patches to change it to BytesType
Once the value is in the log in .6 the node will need to be started witout
DEBUG logging to clear out the hints after which the log level can be turned
back to DEBUG.
> Exception while recovering commitlog when debug logging enabled
> ---------------------------------------------------------------
>
> Key: CASSANDRA-1274
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1274
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.6
> Reporter: Johan Oskarsson
> Assignee: Matthew F. Dennis
> Priority: Critical
> Fix For: 0.6.4, 0.7 beta 1
>
> Attachments: 1274-0.6.patch, 1274-trunk.patch
>
>
> On a cluster with debug logging enabled the commit log fails to recover on
> start. An UTF8 exception is thrown when trying to toString a column from the
> system column family LocationInfo. That CF is using UTF8Type but I suspect
> the column name in this specific case is a byte representation of an ip
> address, and as such not a valid UTF8 string. That column is most perhaps
> created in SystemTable line 74.
> Full exception stack trace:
> ERROR [main] 2010-07-13 11:03:17,050 AbstractCassandraDaemon.java (line 107)
> Exception encountered during startup.
> org.apache.cassandra.db.marshal.MarshalException: invalid UTF8 bytes [10,
> -48, 40, -124]
> at
> org.apache.cassandra.db.marshal.UTF8Type.getString(UTF8Type.java:43)
> at org.apache.cassandra.db.Column.getString(Column.java:200)
> at
> org.apache.cassandra.db.marshal.AbstractType.getColumnsString(AbstractType.java:85)
> at
> org.apache.cassandra.db.ColumnFamily.toString(ColumnFamily.java:393)
> 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:250)
> at
> org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:171)
> at
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:120)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:90)
> at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:221)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.