cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6974) Replaying archived commitlogs isn't working
Date Mon, 07 Apr 2014 11:34:17 GMT


Benedict commented on CASSANDRA-6974:

[~enigmacurry] I get different errors when I run this dtest. Initially, I get:

Streaming session ID: 25dea2f0-be47-11e3-8aa4-f765879d36e5
Exception in thread "STREAM-OUT-/" java.lang.NullPointerException
	at org.apache.cassandra.streaming.ConnectionHandler$MessageHandler.signalCloseDone(
	at org.apache.cassandra.streaming.ConnectionHandler$

then, after fixing, I get

Exception in thread "STREAM-OUT-/" java.lang.NullPointerException
	at org.apache.cassandra.streaming.StreamManager$StreamRateLimiter.<init>(
	at org.apache.cassandra.streaming.StreamManager.getRateLimiter(
	at org.apache.cassandra.streaming.StreamWriter.<init>(
	at org.apache.cassandra.streaming.compress.CompressedStreamWriter.<init>(
	at org.apache.cassandra.streaming.messages.OutgoingFileMessage$1.serialize(
	at org.apache.cassandra.streaming.messages.OutgoingFileMessage$1.serialize(
	at org.apache.cassandra.streaming.messages.StreamMessage.serialize(
	at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(
	at org.apache.cassandra.streaming.ConnectionHandler$

Is it possible the config for the test is specific to your setup? Looks like it's failing
to find a localDc.

> Replaying archived commitlogs isn't working
> -------------------------------------------
>                 Key: CASSANDRA-6974
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Ryan McGuire
>            Assignee: Benedict
>             Fix For: 2.1 beta2
>         Attachments: 2.0.system.log, 2.1.system.log
> I have a test for restoring archived commitlogs, which is not working in 2.1 HEAD.  My
commitlogs consist of 30,000 inserts, but system.log indicates there were only 2 mutations
> {code}
> INFO  [main] 2014-04-02 11:49:54,173 - Log replay complete, 2 replayed
> {code}
> There are several warnings in the logs about bad headers and invalid CRCs: 
> {code}
> WARN  [main] 2014-04-02 11:49:54,156 - Encountered bad header
at position 0 of commit log /tmp/dtest
> -mZIlPE/test/node1/commitlogs/CommitLog-4-1396453793570.log, with invalid CRC. The end
of segment marker should be zero.
> {code}
> compare that to the same test run on 2.0, where it replayed many more mutations:
> {code}
>  INFO [main] 2014-04-02 11:49:04,673 (line 132) Log replay complete, 35960
replayed mutations
> {code}
> I'll attach the system logs for reference.
> [Here is the dtest to reproduce this|]
- (This currently relies on the fix for snapshots available in CASSANDRA-6965.)

This message was sent by Atlassian JIRA

View raw message