[ https://issues.apache.org/jira/browse/CASSANDRA-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-9687: -------------------------------------- Component/s: Local Write-Read Paths > Wrong partitioner after upgrading sstables (secondary indexes are not handled > correctly after CASSANDRA-6962) > ------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-9687 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9687 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Environment: Windows-7-32 bit, 3.2GB RAM, Java 1.7.0_55 > Reporter: Andreas Schnitzerling > Assignee: Yuki Morishita > Priority: Blocker > Fix For: 2.2.0 rc2 > > Attachments: la-1-big.zip, la-540-big-CompressionInfo.db, > la-540-big-Data.db, la-540-big-Digest.adler32, la-540-big-Filter.db, > la-540-big-Index.db, la-540-big-Statistics.db, la-540-big-Summary.db, > la-540-big-TOC.txt, nieste-niesteinverters-jb-540-CompressionInfo.db, > nieste-niesteinverters-jb-540-Data.db, > nieste-niesteinverters-jb-540-Filter.db, > nieste-niesteinverters-jb-540-Index.db, > nieste-niesteinverters-jb-540-Statistics.db, > nieste-niesteinverters-jb-540-Summary.db, > nieste-niesteinverters-jb-540-TOC.txt, system.log, system.zip > > > After upgrading one of 15 nodes from 2.1.7 to 2.2.0.rc1, C* upgrades > automatic sstables. After restart of C*, some of these new generated sstables > are not accepted anymore and C* crashes. If I delete the affected sstables, > C* starts again. > {code:title=system.log} > ERROR [SSTableBatchOpen:1] 2015-06-30 13:08:54,861 SSTableReader.java:432 - > Cannot open > D:\Programme\Cassandra\data\data\nieste\niesteinverters\la-540-big; > partitioner org.apache.cassandra.dht.LocalPartitioner does not match system > partitioner org.apache.cassandra.dht.Murmur3Partitioner. Note that the > default partitioner starting with Cassandra 1.2 is Murmur3Partitioner, so you > will need to edit that to match your old partitioner if upgrading. > {code} > {code:title=schema} > CREATE TABLE niesteinverters ( > id bigint, > comment map<timestamp, text>, > creation_time timestamp, > fk_ncom bigint, > last_event timestamp, > last_filesize int, > last_onl_data timestamp, > last_time timestamp, > ncom_hist map<timestamp, bigint>, > version int, > PRIMARY KEY ((id)) > ) WITH > bloom_filter_fp_chance=0.010000 AND > caching='{"keys":"ALL", "rows_per_partition":"NONE"}' AND > comment='Table for niesteinverters > (niesteplants->niestecoms->niesteinverters)' AND > dclocal_read_repair_chance=0.000000 AND > gc_grace_seconds=864000 AND > read_repair_chance=0.100000 AND > default_time_to_live=0 AND > speculative_retry='NONE' AND > memtable_flush_period_in_ms=0 AND > compaction={'class': 'LeveledCompactionStrategy'} AND > compression={'sstable_compression': 'LZ4Compressor'}; > CREATE INDEX niesteinvertersniestecomsIndex ON niesteinverters (fk_ncom); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)