Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B01911892C for ; Wed, 1 Jul 2015 14:49:06 +0000 (UTC) Received: (qmail 48648 invoked by uid 500); 1 Jul 2015 14:49:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 48618 invoked by uid 500); 1 Jul 2015 14:49:06 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 48525 invoked by uid 99); 1 Jul 2015 14:49:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 14:49:05 +0000 Date: Wed, 1 Jul 2015 14:49:05 +0000 (UTC) From: "Yuki Morishita (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9687) Wrong partitioner after upgrading sstables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610399#comment-14610399 ] Yuki Morishita commented on CASSANDRA-9687: ------------------------------------------- [~Andie78], do you have system.log that contains other log(not only ERROR)? Especially, I'm looking for compaction logs, like {{Compacting \[SSTableReader...\]}} and {{Compacted 4 sstables to...}}. > Wrong partitioner after upgrading sstables > ------------------------------------------ > > 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: Branimir Lambov > Priority: Critical > Fix For: 2.2.0 rc2 > > Attachments: 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 > > > 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, > creation_time timestamp, > fk_ncom bigint, > last_event timestamp, > last_filesize int, > last_onl_data timestamp, > last_time timestamp, > ncom_hist map, > 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)