cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustam Aliyev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3217) javax.management.InstanceAlreadyExistsException: during startup
Date Mon, 26 Sep 2011 11:44:26 GMT

    [ 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

        

Mime
View raw message