cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Hatch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6536) SStable gets corrupted after keyspace drop and recreation
Date Fri, 03 Jan 2014 21:12:50 GMT

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

Russ Hatch commented on CASSANDRA-6536:
---------------------------------------

I have not been able to reproduce this issue on cassandra versions 1.2.12, 1.2.13, or 2.0,
using single or multiple nodes (all nodes local to my machine). This was using Java 1.7.0_45.

Perhaps the issue could relate to network latency or a different java version?



> SStable gets corrupted after keyspace drop and recreation
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-6536
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6536
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 1.2.12 & 1.2.13
>            Reporter: Dominic Letz
>            Assignee: Russ Hatch
>
> ERROR [ReadStage:41] 2014-01-02 14:27:00,629 CassandraDaemon.java (line 191) Exception
in thread Thread[ReadStage:41,5,main]
> java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException:
java.io.IOException: Corrupt (negative) value length encountered
> When running a test like this the SECOND TIME:
> DROP KEYSPACE testspace;
> CREATE KEYSPACE testspace with REPLICATION = {'class':'SimpleStrategy', 'replication_factor':1}
AND durable_writes = false;
> USE testspace;
> CREATE TABLE testtable (id text PRIMARY KEY, group text) WITH compression = {'sstable_compression':'LZ4Compressor'};
> CREATE INDEX testindex ON testtable (group);
> INSERT INTO testtable (id, group) VALUES ('00001', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00002', 'gamma');
> INSERT INTO testtable (id, group) VALUES ('00003', 'delta');
> INSERT INTO testtable (id, group) VALUES ('00004', 'epsilon');
> INSERT INTO testtable (id, group) VALUES ('00005', 'alpha');
> INSERT INTO testtable (id, group) VALUES ('00006', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00007', 'gamma');
> INSERT INTO testtable (id, group) VALUES ('00008', 'delta');
> INSERT INTO testtable (id, group) VALUES ('00009', 'epsilon');
> INSERT INTO testtable (id, group) VALUES ('00010', 'alpha');
> INSERT INTO testtable (id, group) VALUES ('00011', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00012', 'gamma');
> INSERT INTO testtable (id, group) VALUES ('00013', 'delta');
> INSERT INTO testtable (id, group) VALUES ('00014', 'epsilon');
> INSERT INTO testtable (id, group) VALUES ('00015', 'alpha');
> INSERT INTO testtable (id, group) VALUES ('00016', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00017', 'gamma');
> ... 
> INSERT INTO testtable (id, group) VALUES ('100000', 'alpha');
> SELECT COUNT(*) FROM testspace.testtable WHERE group = 'alpha' LIMIT 100001;



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message