cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2055) Incompletely written commitlog keeps Cassandra from starting
Date Tue, 25 Jan 2011 22:51:45 GMT

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

Jonathan Ellis commented on CASSANDRA-2055:
-------------------------------------------

Turning on debug logging will give you which commitlog, as well as the location in the file
of the RowMutation in question.  In particular, we're interested in whether that mutation
is at the end of the file.  (You'll have to get file size from ls -l.)

> Incompletely written commitlog keeps Cassandra from starting
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-2055
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2055
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.6.10
>            Reporter: David King
>
> I had to pull the plug in a failing Cassandra node. On boot, it dies with this exception.
The process dies and is unable to start
> {{
> Jan 25 15:35:58 pmc01 cas:  INFO 15:35:58,870 Finished reading /cassandra/commitlog/CommitLog-1295991089449.log
> Jan 25 15:35:58 pmc01 cas: ERROR 15:35:58,872 Exception encountered during startup.
> Jan 25 15:35:58 pmc01 cas: java.io.EOFException
> Jan 25 15:35:58 pmc01 cas: ^Iat java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
> Jan 25 15:35:58 pmc01 cas: ^Iat java.io.DataInputStream.readUTF(DataInputStream.java:589)
> Jan 25 15:35:58 pmc01 cas: ^Iat java.io.DataInputStream.readUTF(DataInputStream.java:564)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:363)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:318)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:240)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:172)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:115)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:224)
> Jan 25 15:35:58 pmc01 cas: Exception encountered during startup.
> Jan 25 15:35:58 pmc01 cas: java.io.EOFException
> Jan 25 15:35:58 pmc01 cas: ^Iat java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
> Jan 25 15:35:58 pmc01 cas: ^Iat java.io.DataInputStream.readUTF(DataInputStream.java:589)
> Jan 25 15:35:58 pmc01 cas: ^Iat java.io.DataInputStream.readUTF(DataInputStream.java:564)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:363)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:318)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:240)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:172)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:115)
> Jan 25 15:35:58 pmc01 cas: ^Iat org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:224)
> }}

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