Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 76721 invoked from network); 27 Jul 2010 05:36:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jul 2010 05:36:46 -0000 Received: (qmail 67620 invoked by uid 500); 27 Jul 2010 05:36:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 67484 invoked by uid 500); 27 Jul 2010 05:36:42 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 67464 invoked by uid 99); 27 Jul 2010 05:36:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 05:36:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 05:36:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6R5aHlh029220 for ; Tue, 27 Jul 2010 05:36:17 GMT Message-ID: <13786949.17661280208977092.JavaMail.jira@thor> Date: Tue, 27 Jul 2010 01:36:17 -0400 (EDT) From: "Matthew F. Dennis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1274) Exception while recovering commitlog when debug logging enabled In-Reply-To: <855577.351061279041053903.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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.