[ 
https://issues.apache.org/jira/browse/CASSANDRA-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

vincent royer updated CASSANDRA-13834:
--------------------------------------
    Summary: Fix JMX InstanceAlreadyExistsException  (was: nodetool 
resetlocalschema failed because of JMX registration)

> Fix JMX InstanceAlreadyExistsException
> --------------------------------------
>
>                 Key: CASSANDRA-13834
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13834
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Metrics
>            Reporter: vincent royer
>            Assignee: vincent royer
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 3.11.x
>
>         Attachments: 0001-CASSANDRA-13834.patch
>
>
> nodetool resetlocalschema failed because of the following exception.
> This is because the table MBean was already registred in the MBeanServer with 
> the same name.
> 2017-08-31 14:00:57,989 ERROR [InternalResponseStage:18] 
> CassandraDaemon.java:231 uncaughtException Exception in thread 
> Thread[InternalResponseStage:18,5,main]
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: 
> org.apache.cassandra.db:type=Tables,key
> space=elastic_admin,table=metadata
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:468)
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:618)
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:592)
>         at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:583)
>         at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:414)
>         at org.apache.cassandra.config.Schema.addTable(Schema.java:609)
>         at 
> java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:608)
>         at 
> java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)
>         at 
> org.apache.cassandra.schema.SchemaKeyspace.updateKeyspace(SchemaKeyspace.java:1421)
>         at 
> org.apache.cassandra.schema.SchemaKeyspace.mergeSchema(SchemaKeyspace.java:1386)
>         at 
> org.apache.cassandra.schema.SchemaKeyspace.mergeSchemaAndAnnounceVersion(SchemaKeyspace.java:1336)
>         at 
> org.apache.cassandra.service.MigrationTask$1.response(MigrationTask.java:91)
>         at 
> org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:53)
>         at 
> org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:66)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at 
> org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to