You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2010/07/13 19:10:53 UTC
[jira] Created: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
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
Reporter: Johan Oskarsson
Priority: Critical
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.
[jira] Commented: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894918#action_12894918 ]
Brandon Williams commented on CASSANDRA-1274:
---------------------------------------------
Just clearing the CL won't help, because the HH cf already exists, so it's not recreated. Then the problem continues to occur.
> 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: Minor
> Fix For: 0.6.4
>
> 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.
[jira] Assigned: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reassigned CASSANDRA-1274:
-----------------------------------------
Assignee: Matthew F. Dennis
> 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.7
> Reporter: Johan Oskarsson
> Assignee: Matthew F. Dennis
> Priority: Critical
> Fix For: 0.7
>
>
> 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.
[jira] Commented: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887864#action_12887864 ]
Jonathan Ellis commented on CASSANDRA-1274:
-------------------------------------------
in 0.6?
> 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
> Reporter: Johan Oskarsson
> Priority: Critical
>
> 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.
[jira] Updated: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1274:
--------------------------------------
Affects Version/s: 0.6
(was: 0.6.3)
> 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.
[jira] Commented: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894929#action_12894929 ]
Jonathan Ellis commented on CASSANDRA-1274:
-------------------------------------------
Isn't the HH CF "created" on server startup in DD? Or did that change in 0.7 too?
> 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: Minor
> Fix For: 0.6.4
>
> 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.
[jira] Updated: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895032#action_12895032 ]
Matthew F. Dennis commented on CASSANDRA-1274:
----------------------------------------------
The meta data is created statically in CfMetaData
> 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: Minor
> Fix For: 0.6.4
>
> 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.
[jira] Updated: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-1274:
----------------------------------------
Affects Version/s: 0.6.3
(was: 0.7 beta 1)
Fix Version/s: 0.6.4
(was: 0.7 beta 1)
> 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.3
> 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.
[jira] Commented: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1274:
--------------------------------------
Priority: Minor (was: Critical)
> 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: Minor
> Fix For: 0.6.4
>
> 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.
[jira] Updated: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Oskarsson updated CASSANDRA-1274:
---------------------------------------
Fix Version/s: 0.7
Affects Version/s: 0.7
This was in trunk from yesterday. It's a modified version, but none of that code should have been touched.
> 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.7
> Reporter: Johan Oskarsson
> Priority: Critical
> Fix For: 0.7
>
>
> 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.
[jira] Commented: (CASSANDRA-1274) Exception while recovering
commitlog when debug logging enabled
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891899#action_12891899 ]
Brandon Williams commented on CASSANDRA-1274:
---------------------------------------------
Jon Hermes presented a theory that you have to be using an IP that has at least one quad over 128, which won't be met by a localhost cluster. I can reliably reproduce on a real cluster, even in 0.6.
> 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.7 beta 1
> Reporter: Johan Oskarsson
> Assignee: Matthew F. Dennis
> Priority: Critical
> Fix For: 0.7 beta 1
>
>
> 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.