cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11632) Commitlog corruption
Date Fri, 22 Apr 2016 12:37:12 GMT

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

Sylvain Lebresne commented on CASSANDRA-11632:
----------------------------------------------

Additional information like whether this is easily reproducible or not (and if so, reproduction
steps) and maybe some infos on the schema of the table involved would be pretty useful here
(the latter is in particular kind of needed to make any sense of those commit log files).

The error message also says "This may be caused by replaying a mutation against a table with
the same name but incompatible schema": are you absolutely sure you didn't messed up with
the schema in any way (dropping a table and recreating one with the same name but slightly
different schema)?

> Commitlog corruption
> --------------------
>
>                 Key: CASSANDRA-11632
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11632
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 3.6 SNAPSHOT
>            Reporter: DOAN DuyHai
>
> {noformat}
> INFO  10:00:08 Replaying /Users/archinnovinfo/perso/cassandra/data/commitlog/CommitLog-6-1461260041762.log,
/Users/archinnovinfo/perso/cassandra/data/commitlog/CommitLog-6-1461260041763.log
> ERROR 10:00:08 Exiting due to error while processing commit log during initialization.
> org.apache.cassandra.db.commitlog.CommitLogReplayer$CommitLogReplayException: Unexpected
error deserializing mutation; saved to /var/folders/9s/gkchxg6x7qb0vh0k6_cmdl540000gn/T/mutation916280897052665587dat.
 This may be caused by replaying a mutation against a table with the same name but incompatible
schema.  Exception follows: org.apache.cassandra.serializers.MarshalException: Not enough
bytes to read 0th field java.nio.HeapByteBuffer[pos=0 lim=6 cap=6]
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.handleReplayError(CommitLogReplayer.java:611)
[main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replayMutation(CommitLogReplayer.java:568)
[main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replaySyncSection(CommitLogReplayer.java:521)
[main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:407)
[main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:236)
[main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:193) [main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:173) [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:292) [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:558) [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:687) [main/:na]
> {noformat}
> I'm using the 3.6_SNAPSHOT at _ae063e8 JSON datetime formatting needs timezone_
> The commilog files are downloadable here: 
> https://drive.google.com/file/d/0B6wR2aj4Cb6wUXpZc1dQcmZvb1U/view?usp=sharing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message