Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8F25C923 for ; Wed, 16 May 2012 12:13:33 +0000 (UTC) Received: (qmail 93737 invoked by uid 500); 16 May 2012 12:13:31 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93710 invoked by uid 500); 16 May 2012 12:13:31 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 93684 invoked by uid 99); 16 May 2012 12:13:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 12:13:30 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christoph.eberhardt@googlemail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bk0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 12:13:22 +0000 Received: by bkty8 with SMTP id y8so637487bkt.31 for ; Wed, 16 May 2012 05:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=hwpkriOxsNNO2TYuaLVAYVM01i3vhrbBoE9bDS5A9LU=; b=mT2y41Xhe9drfPBWRU7PfyhsxuDzGEYhOp0ECJ3iiMOLUb2VzITozj5ePibti9h1Se raTnwUXIjhOc7eSsjbRXoHASztOfJyL6q55tb164+payrFKixR3j6CMoKfV+Xu+kkXxs BgwmVpiQYhaO/k/GsV4UjiagqjLmhCCk2kv7yYlEi5rJp3ThxySmczmEYsPXJ1Pg8zUu KHrOSc5lhqRnkUvaBZKKnPxaBYsqfdRW+7ccRf9liLSmgAfOqI3g/QpBlZQbK+6A/+ea uYpfnNN7oVqDSHFhfl4URIJmUNuYMZPMvHJQputoQcqQJDF4Aj0qPGFFkvqL6Wdg+vij nN9A== Received: by 10.204.151.199 with SMTP id d7mr1037043bkw.73.1337170382093; Wed, 16 May 2012 05:13:02 -0700 (PDT) Received: from mac.fritz.box (HSI-KBW-091-089-005-006.hsi2.kabelbw.de. [91.89.5.6]) by mx.google.com with ESMTPS id ie3sm4628942bkc.1.2012.05.16.05.13.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 05:13:01 -0700 (PDT) From: Christoph Eberhardt Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Startup fails after updgrading from 1.0.8 to 1.1.0 Date: Wed, 16 May 2012 14:12:59 +0200 Message-Id: <9CE13397-3DF0-4041-B55E-29E4C9DD6126@googlemail.com> To: user@cassandra.apache.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Hi there, if updgraded cassandra from 1.0.8 to 1.1.0. It seemed to work in the = first place, all seemed to work fine. So I started upgrading the rest of = the cluster (at the time only one other node, that is a replica). After = having a several errors, I restarted the cluster and now cassandra won't = even start up. Startup fails with the following error message:=20 INFO 13:59:05,175 Logging initialized INFO 13:59:05,178 JVM = vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_26 INFO = 13:59:05,178 Heap size: 8420720640/8420720640 INFO 13:59:05,178 = Classpath: = bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../l= ib/antlr-3.2.jar:bin/../lib/apache-cassandra-1.1.0.jar:bin/../lib/apache-c= assandra-clientutil-1.1.0.jar:bin/../lib/apache-cassandra-thrift-1.1.0.jar= :bin/../lib/avro-1.4.0-fixes.jar:bin/../lib/avro-1.4.0-sources-fixes.jar:b= in/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/= commons-lang-2.4.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurre= ntlinkedhashmap-lru-1.2.jar:bin/../lib/guava-r08.jar:bin/../lib/high-scale= -lib-1.1.2.jar:bin/../lib/jackson-core-asl-1.9.2.jar:bin/../lib/jackson-ma= pper-asl-1.9.2.jar:bin/../lib/jamm-0.2.5.jar:bin/../lib/jline-0.9.94.jar:b= in/../lib/jna.jar:bin/../lib/json-simple-1.1.jar:bin/../lib/libthrift-0.7.= 0.jar:bin/../lib/log4j-1.2.16.jar:bin/../lib/metrics-core-2.0.3.jar:bin/..= /lib/mx4j-tools.jar:bin/../lib/servlet-api-2.5-20081211.jar:bin/../lib/slf= 4j-api-1.6.1.jar:bin/../lib/slf4j-log4j12-1.6.1.jar:bin/../lib/snakeyaml-1= .6.jar:bin/../lib/snappy-java-1.0.4.1.jar:bin/../lib/snaptree-0.1.jar:bin/= ../lib/jamm-0.2.5.jar INFO 13:59:07,312 JNA mlockall successful INFO = 13:59:07,325 Loading settings from = file:/opt/cassandra/apache-cassandra-1.1.0/conf/cassandra.yaml INFO = 13:59:07,419 DiskAccessMode 'auto' determined to be mmap, = indexAccessMode is mmap INFO 13:59:07,567 Global memtable threshold is = enabled at 2676MB INFO 13:59:07,654 Initializing key cache with capacity of 100 MBs. INFO 13:59:07,661 Scheduling key cache save to each 14400 seconds = (going to save all keys). INFO 13:59:07,662 Initializing row cache with capacity of 0 MBs and = provider org.apache.cassandra.cache.SerializingCacheProvider INFO 13:59:07,664 Scheduling row cache save to each 0 seconds (going to = save all keys). INFO 13:59:07,717 Opening = /opt/cassandra/database/data/system/schema_columnfamilies/system-schema_co= lumnfamilies-hc-9 (28520 bytes) INFO 13:59:07,717 Opening = /opt/cassandra/database/data/system/schema_columnfamilies/system-schema_co= lumnfamilies-hc-10 (28520 bytes) INFO 13:59:07,746 Opening = /opt/cassandra/database/data/system/NodeIdInfo/system-NodeIdInfo-hc-1 = (187 bytes) INFO 13:59:07,777 Opening = /opt/cassandra/database/data/system/schema_columns/system-schema_columns-h= c-3 (1892 bytes) INFO 13:59:07,777 Opening = /opt/cassandra/database/data/system/schema_columns/system-schema_columns-h= c-1 (1892 bytes) INFO 13:59:07,777 Opening = /opt/cassandra/database/data/system/schema_columns/system-schema_columns-h= c-2 (1892 bytes) INFO 13:59:07,790 Opening = /opt/cassandra/database/data/system/Versions/system-Versions-hc-34 (247 = bytes) INFO 13:59:07,790 Opening = /opt/cassandra/database/data/system/Versions/system-Versions-hc-35 (247 = bytes) INFO 13:59:07,815 Opening = /opt/cassandra/database/data/system/IndexInfo/system-IndexInfo-hc-32 = (490 bytes) INFO 13:59:07,816 Opening = /opt/cassandra/database/data/system/IndexInfo/system-IndexInfo-hc-33 = (115 bytes) INFO 13:59:07,850 Opening = /opt/cassandra/database/data/system/schema_keyspaces/system-schema_keyspac= es-hc-9 (506 bytes) INFO 13:59:07,850 Opening = /opt/cassandra/database/data/system/schema_keyspaces/system-schema_keyspac= es-hc-10 (506 bytes) INFO 13:59:07,867 Opening = /opt/cassandra/database/data/system/LocationInfo/system-LocationInfo-hc-74= (148 bytes) INFO 13:59:07,867 Opening = /opt/cassandra/database/data/system/LocationInfo/system-LocationInfo-hc-72= (406 bytes) INFO 13:59:07,867 Opening = /opt/cassandra/database/data/system/LocationInfo/system-LocationInfo-hc-73= (80 bytes)ERROR 13:59:08,244 Exception encountered during startup java.lang.IllegalArgumentException: value already present: 1034 at = com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)= at = com.google.common.collect.AbstractBiMap.putInBothMaps(AbstractBiMap.java:1= 11) at = com.google.common.collect.AbstractBiMap.put(AbstractBiMap.java:96) at com.google.common.collect.HashBiMap.put(HashBiMap.java:84) at org.apache.cassandra.config.Schema.load(Schema.java:385) at org.apache.cassandra.config.Schema.load(Schema.java:106) at org.apache.cassandra.config.Schema.load(Schema.java:91) at = org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescrip= tor.java:533) at = org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassand= raDaemon.java:182) at = org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCass= andraDaemon.java:353) at = org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)= java.lang.IllegalArgumentException: value already present: 1034 at = com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)= at = com.google.common.collect.AbstractBiMap.putInBothMaps(AbstractBiMap.java:1= 11) at = com.google.common.collect.AbstractBiMap.put(AbstractBiMap.java:96) at com.google.common.collect.HashBiMap.put(HashBiMap.java:84) at org.apache.cassandra.config.Schema.load(Schema.java:385) at org.apache.cassandra.config.Schema.load(Schema.java:106) at org.apache.cassandra.config.Schema.load(Schema.java:91) at = org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescrip= tor.java:533) at = org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassand= raDaemon.java:182) at = org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCass= andraDaemon.java:353) at = org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)= Exception encountered during startup: value already present: 1034 What can I do to get my cluster back online? Thank you Christoph Eberhardt