cassandra-commits mailing list archives

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


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:
>             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,
> 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(
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replayMutation(
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replaySyncSection(
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover( [main/:na]
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover( [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.setup( [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.activate( [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.main( [main/:na]
> {noformat}
> I'm using the 3.6_SNAPSHOT at _ae063e8 JSON datetime formatting needs timezone_
> The commilog files are downloadable here: 

This message was sent by Atlassian JIRA

View raw message