cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Schütz <an...@wegtam.com>
Subject Re: ReplayException after shutdown and restart
Date Tue, 06 Mar 2018 10:46:51 GMT
Another information about this error.

Before creating the keyspace and the tables, we removed all former
commitlog entries and data from the local data folder. "Testimport" is
the keyspace for the tables.

/cassandra/data/commitlog/*
/cassandra/data/data/testimport/*

After the filling of th tables, there were correctly two tables under
the keyspace:

/cassandra/data/data/testimport/table1-hash1
/cassandra/data/data/testimport/table2-hash2

After the shutdown and the restart, we had 4 entries:

/cassandra/data/data/testimport/table1-hash1
/cassandra/data/data/testimport/table1-hash3
/cassandra/data/data/testimport/table2-hash2
/cassandra/data/data/testimport/table2-hash4

This maybe helps to give us a hint what went wrong?

Thanks,
Andre



On Tue, 6 Mar 2018 11:37:17 +0100
André Schütz <andre@wegtam.com> wrote:

> Hi,
> 
> we created a keyspace that contained two tables. These tables are
> filled with data. For a shutdown of the machine, we performed "nodetool
> flush" (and also in a second try "nodetool drain"). After that, we
> stopped the Cassandra service with "SigTerm"
> 
> We changed nothing after the system stop and restarted the node. The
> following error occured during restart.
> 
> [code]
> ERROR 10:14:33 Exiting due to error while processing commit log during initialization.
> org.apache.cassandra.db.commitlog.CommitLogReplayer$CommitLogReplayException: Unexpected
error deserializing mutation; saved to /tmp/mutation8563274912263154073dat.  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: Expected 4 byte long for date
(0)
> [/code]
> 
> Before the shutdown, the data was correctly and without errors available within the database.
> 
> Any ideas about that error?
> 
> Thank you in advance.
> Andre
> 
> -- 
> Andre Schütz
> COO / Founder - Wegtam GmbH
> andre@wegtam.com | P: +49 (0) 381-80 699 041 | M: +49 (0) 176-218 02 604
> www.wegtam.com | www.tensei-data.com | www.wegtam.net
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: user-help@cassandra.apache.org
> 


-- 
Andre Schütz
COO / Founder - Wegtam GmbH
andre@wegtam.com | P: +49 (0) 381-80 699 041 | M: +49 (0) 176-218 02 604
www.wegtam.com | www.tensei-data.com | www.wegtam.net

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org


Mime
View raw message