cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-3355) Race trying to register CFS MBean
Date Thu, 13 Oct 2011 19:15:12 GMT

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

Jonathan Ellis resolved CASSANDRA-3355.
---------------------------------------

    Resolution: Duplicate

see CASSANDRA-3217
                
> Race trying to register CFS MBean
> ---------------------------------
>
>                 Key: CASSANDRA-3355
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3355
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Priority: Minor
>
> I heard reports of this multiple times, here's an example:
> {noformat}
>  INFO 16:08:23,672 reading saved cache /var/lib/cassandra/saved_caches/spider-InterfaceDailyCompressed-KeyCache
>  INFO 16:08:23,995 Opening /var/lib/cassandra/data/spider/InterfaceDailyCompressed-g-63
>  INFO 16:08:24,253 Opening /var/lib/cassandra/data/spider/InterfaceDailyCompressed-g-75
>  INFO 16:08:24,422 Opening /var/lib/cassandra/data/spider/InterfaceDailyCompressed-g-113
>  INFO 16:08:24,443 Opening /var/lib/cassandra/data/spider/InterfaceDailyCompressed-g-36
>  INFO 16:08:24,756 Opening /var/lib/cassandra/data/spider/InterfaceDailyCompressed-g-102
>  INFO 16:08:24,789 Opening /var/lib/cassandra/data/spider/InterfaceDailyCompressed-g-58
> ERROR 16:08:25,105 Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=spider,columnfamily=InterfaceDailyCompressed
>         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=spider,columnfamily=InterfaceDailyCompressed
>         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
> Exception encountered during startup.
> java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=spider,columnfamily=InterfaceDailyCompressed
>         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=spider,columnfamily=InterfaceDailyCompressed
>         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
> {noformat}
> This wouldn't be too big of a deal, except it's actually preventing startup which kind
of sucks if you're expecting cassandra to start on the first try from an init script.

--
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

        

Mime
View raw message