Jonathan Halliday created CASSANDRA-7665:
--------------------------------------------
Summary: nodetool scrub fails on system schema with UDTs
Key: CASSANDRA-7665
URL: https://issues.apache.org/jira/browse/CASSANDRA-7665
Project: Cassandra
Issue Type: Bug
Environment: 2.1.0-rc4
Reporter: Jonathan Halliday
[apache-cassandra-2.1.0-rc4]$ bin/cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 2.1.0-rc4 | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.
cqlsh> CREATE KEYSPACE test WITH replication = {'class': 'SimpleStrategy',
'replication_factor': 1 };
cqlsh> use test;
cqlsh:test> CREATE TYPE point_t (x double, y double);
cqlsh:test> exit
[apache-cassandra-2.1.0-rc4]$bin/nodetool scrub
INFO 12:34:57 Scrubbing
SSTableReader(path='/apache-cassandra-2.1.0-rc4/bin/../data/data/system/schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema_columnfamilies-ka-1-Data.db')
(34135 bytes)
INFO 12:34:57 Scrub of
SSTableReader(path='/apache-cassandra-2.1.0-rc4/bin/../data/data/system/schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema_columnfamilies-ka-1-Data.db')
complete: 2 rows in new sstable and 0 empty (tombstoned) rows dropped
INFO 12:34:57 Scrubbing
SSTableReader(path='/apache-cassandra-2.1.0-rc4/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-5-Data.db')
(12515 bytes)
WARN 12:34:57 Error reading row (stacktrace follows):
org.apache.cassandra.io.sstable.CorruptSSTableException:
org.apache.cassandra.serializers.MarshalException: Not enough bytes to read a
set
at
org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:139)
~[apache-cassandra-2.1.0-rc4.jar:2.1.0-rc4]
--
This message was sent by Atlassian JIRA
(v6.2#6252)