cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9687) Wrong partitioner after upgrading sstables (secondary indexes are not handled correctly after CASSANDRA-6962)
Date Thu, 02 Jul 2015 18:16:04 GMT

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

Sam Tunnicliffe commented on CASSANDRA-9687:
--------------------------------------------

+1 
I noticed a couple of pre-existing typos in the class level javadoc for Directories which
we may as well clean up on commit:
s/thare/there
s/snapshoted/snapshotted
s/furter/further

> 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: Core
>         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)

Mime
View raw message