You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Thibaut (JIRA)" <ji...@apache.org> on 2011/09/16 16:34:08 UTC
[jira] [Created] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
javax.management.InstanceAlreadyExistsException: during startup
---------------------------------------------------------------
Key: CASSANDRA-3217
URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
Project: Cassandra
Issue Type: Bug
Reporter: Thibaut
Priority: Minor
Hi,
I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
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(AbstractCassandraDaemon.java:187)
at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
... 8 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
Posted by "Pavel Yaskevich (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich resolved CASSANDRA-3217.
----------------------------------------
Resolution: Cannot Reproduce
> javax.management.InstanceAlreadyExistsException: during startup
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3217
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.5
> Reporter: Thibaut
> Assignee: Pavel Yaskevich
> Priority: Minor
>
> Hi,
> I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
> I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
> I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
> ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
> 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(AbstractCassandraDaemon.java:187)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
> ... 8 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
Posted by "Rustam Aliyev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114608#comment-13114608 ]
Rustam Aliyev commented on CASSANDRA-3217:
------------------------------------------
Got similar error today on one of the nodes while performing rolling update from 0.8.4 to 0.8.6. The difference that error was due to my keyspace, not system. I haven't done anything to fix, just tried to start again and came up successfully.
{code}
ERROR [main] 2011-09-26 16:29:23,669 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=ElasticInbox,columnfamily=Accounts
at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
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(AbstractCassandraDaemon.java:187)
at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=ElasticInbox,columnfamily=Accounts
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
... 8 more
{code}
> javax.management.InstanceAlreadyExistsException: during startup
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3217
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.5
> Reporter: Thibaut
> Priority: Minor
>
> Hi,
> I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
> I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
> I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
> ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
> 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(AbstractCassandraDaemon.java:187)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
> ... 8 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
Posted by "Jonathan Ellis (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reassigned CASSANDRA-3217:
-----------------------------------------
Assignee: Pavel Yaskevich
The second report here is confusing to me, I'm not sure how it could fail once but then succeed with no schema changes in between.
> javax.management.InstanceAlreadyExistsException: during startup
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3217
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.5
> Reporter: Thibaut
> Assignee: Pavel Yaskevich
> Priority: Minor
>
> Hi,
> I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
> I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
> I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
> ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
> 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(AbstractCassandraDaemon.java:187)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
> ... 8 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
Posted by "Pavel Yaskevich (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159319#comment-13159319 ]
Pavel Yaskevich commented on CASSANDRA-3217:
--------------------------------------------
After looking at the code I don't see a how keyspace can have two column families with identical names but with different cfIds (in case when cfIds are the same it would fail on assert in Table.initCf) because KSMetaData places CFMetaData instances into the Map where key is the cfName. Error happens in the setup() right after DatabaseDescriptor.loadSchemas() deserialized last schema information for the SCHEMA_CF, I see only possibility - bug in Avro which is triggered when the schema in changed... Can you please provide more information about the status of your cluster and schema when this error happened?
> javax.management.InstanceAlreadyExistsException: during startup
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3217
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.5
> Reporter: Thibaut
> Assignee: Pavel Yaskevich
> Priority: Minor
>
> Hi,
> I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
> I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
> I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
> ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
> 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(AbstractCassandraDaemon.java:187)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
> ... 8 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
Posted by "Thibaut (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thibaut updated CASSANDRA-3217:
-------------------------------
Affects Version/s: 0.8.5
> javax.management.InstanceAlreadyExistsException: during startup
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3217
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.5
> Reporter: Thibaut
> Priority: Minor
>
> Hi,
> I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
> I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
> I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
> ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
> 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(AbstractCassandraDaemon.java:187)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
> ... 8 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3217)
javax.management.InstanceAlreadyExistsException: during startup
Posted by "Thibaut (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159323#comment-13159323 ]
Thibaut commented on CASSANDRA-3217:
------------------------------------
I haven't seen the error anymore, and couldn't reproduce it anymore. Unfortunately I didn't backup the system folder. Close the issue?
> javax.management.InstanceAlreadyExistsException: during startup
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3217
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3217
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8.5
> Reporter: Thibaut
> Assignee: Pavel Yaskevich
> Priority: Minor
>
> Hi,
> I got this error on one machines after restarting (the node could have been killed due to an outofmemory error). It would crash on each restart on this error.
> I copied over the system table from another machine and deleted the locationinfo files and everything worked fine.
> I also had to delete 2 db files which coulnd't be loaded due to UTF-8 encoding errors. These rows were from the same table_feedfetch. The node might have memory errors, I'm going to check this. So it might be related to that.
> ERROR [main] 2011-09-16 16:13:18,468 AbstractCassandraDaemon.java (line 358) Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:303)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465)
> at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435)
> 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(AbstractCassandraDaemon.java:187)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=table_feedfetch,columnfamily=table_feedfetch
> at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:299)
> ... 8 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira