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 6577E72B3 for ; Sun, 4 Sep 2011 06:07:19 +0000 (UTC) Received: (qmail 19061 invoked by uid 500); 4 Sep 2011 06:07:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 18860 invoked by uid 500); 4 Sep 2011 06:06:49 -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 18833 invoked by uid 99); 4 Sep 2011 06:06:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 06:06:43 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eczech52@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 06:06:37 +0000 Received: by iakc1 with SMTP id c1so6019733iak.31 for ; Sat, 03 Sep 2011 23:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=4j1KY54Rx6T/2J87N0dZpbZ4jOV3Wwuggigmfd6sboQ=; b=Q/p1RpTqlNJ9I+FY68ck1sxSnji16alOVJ5o03922u74CNpQCZtBx4jGZqzDVfvmpu wpM3hb+sjKa/Jkd64N0pEdTQYkm0H0oPom3j7ncyV9C0np06B+IayjsgthrFVse/ECgp cDXt6s1n44V2Ww3OoYlpU4oalDwziCwfQfVNA= Received: by 10.42.73.72 with SMTP id r8mr2593596icj.128.1315116376160; Sat, 03 Sep 2011 23:06:16 -0700 (PDT) MIME-Version: 1.0 Sender: eczech52@gmail.com Received: by 10.42.173.6 with HTTP; Sat, 3 Sep 2011 23:05:56 -0700 (PDT) In-Reply-To: References: From: Eric Czech Date: Sun, 4 Sep 2011 00:05:56 -0600 X-Google-Sender-Auth: 2t1wDUrbBzqLuF7Y0dtXEYj0PMA Message-ID: Subject: Re: Fatal startup error -- Instance already exists To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e851270795104ac1764fc X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e851270795104ac1764fc Content-Type: text/plain; charset=ISO-8859-1 I shutdown the cassandra java process, deleted the Schema and Migration tables, and then restarted the node but am now getting a "Could not reach schema agreement" error. After running "describe cluster" from a working node, I can see that all other nodes have a consistent schema and it's only the one node that is having an issue. Do you know why there might still be a disagreement? Thank you for your help! On Sat, Sep 3, 2011 at 11:40 PM, Jonathan Ellis wrote: > That means somehow there is more than one copy of that CF declared in > the schema on that node. Delete the schema and let it pull it from > another node, as in wiki.apache.org/cassandra/FAQ#schema_disagreement. > > On Sun, Sep 4, 2011 at 12:03 AM, Eric Czech wrote: > > Hi, > > I recently upgraded 10 nodes from 7.5 to 8.4 and 9 of them work now but > on > > one node I'm getting an exception on startup that I can't seem to fix. > Has > > anyone seen this before or have any suggestions as to how to correct the > > issue here? Here's the exception I'm getting: > > java.lang.RuntimeException: > javax.management.InstanceAlreadyExistsException: > > > org.apache.cassandra.db:type=ColumnFamilies,keyspace=Keyspace1,columnfamily= > > at > > > org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:315) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:466) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:436) > > at org.apache.cassandra.db.Table.initCf(Table.java:369) > > at org.apache.cassandra.db.Table.(Table.java:306) > > at org.apache.cassandra.db.Table.open(Table.java:111) > > at > > > org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:182) > > at > > > org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:336) > > at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:91) > > Caused by: javax.management.InstanceAlreadyExistsException: > > > org.apache.cassandra.db:type=ColumnFamilies,keyspace=Keyspace1,columnfamily= > > at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:467) > > at > > > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1520) > > at > > > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:986) > > at > > > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:938) > > at > > > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:330) > > at > > > com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:516) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:311) > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of DataStax, the source for professional Cassandra support > http://www.datastax.com > --90e6ba6e851270795104ac1764fc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I shutdown the cassandra java process, deleted the Schema and Migratio= n tables, and then restarted the node but am now getting a "Could not = reach schema agreement" error. =A0After running "describe cluster= " from a working node, I can see that all other nodes have a consisten= t schema and it's only the one node that is having an issue.

Do you know why there might still be a disagreement?

Thank you for your help!

On Sat, Sep 3, 2011 at 11:40 PM, Jonathan Ellis &l= t;jbellis@gmail.com> wro= te:
That means somehow there is more than one c= opy of that CF declared in
the schema on that node. =A0Delete the schema and let it pull it from
another node, as in wiki.apache.org/cassandra/FAQ#schema_disagr= eement.

On Sun, Sep 4, 2011 at 12:03 AM, Eric Czech <eric@nextbigsound.com> wrote:
> Hi,
> I recently upgraded 10 nodes from 7.5 to 8.4 and 9 of them work now bu= t on
> one node I'm getting an exception on startup that I can't seem= to fix. =A0Has
> anyone seen this before or have any suggestions as to how to correct t= he
> issue here? =A0Here's the exception I'm getting:
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsExce= ption:
> org.apache.cassandra.db:type=3DColumnFamilies,keyspace=3DKeyspace1,col= umnfamily=3D<CF_Name>
> at
> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilySto= re.java:315)
> at
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(Colu= mnFamilyStore.java:466)
> at
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(Colu= mnFamilyStore.java:436)
> at org.apache.cassandra.db.Table.initCf(Table.java:369)
> at org.apache.cassandra.db.Table.<init>(Table.java:306)
> at org.apache.cassandra.db.Table.open(Table.java:111)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCas= sandraDaemon.java:182)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstract= CassandraDaemon.java:336)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.ja= va:91)
> Caused by: javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.db:type=3DColumnFamilies,keyspace=3DKeyspace1,col= umnfamily=3D<CF_Name>
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:467) > at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObje= ct(DefaultMBeanServerInterceptor.java:1520)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicM= Bean(DefaultMBeanServerInterceptor.java:986)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(D= efaultMBeanServerInterceptor.java:938)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(De= faultMBeanServerInterceptor.java:330)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.ja= va:516)
> at
> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilySto= re.java:311)



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.c= om

--90e6ba6e851270795104ac1764fc--