cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew F. Dennis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1274) Exception while recovering commitlog when debug logging enabled
Date Tue, 27 Jul 2010 05:36:17 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892653#action_12892653
] 

Matthew F. Dennis commented on CASSANDRA-1274:
----------------------------------------------

Jon Hermes is correct, it has to be invalid UTF8 bytes to trigger this

> 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
>
>
> 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.


Mime
View raw message