Dynamic endpoint snitch only works with one keyspace in 0.6.  (This
was true in 0.6.5 as well, so if you are only seeing it now, you were
running into the 0.6.5 bug that left the dynamic snitch disabled
unless you added an extra option,
https://issues.apache.org/jira/browse/CASSANDRA-1543.)

On Thu, Oct 14, 2010 at 5:39 PM, Wayne <wav...@gmail.com> wrote:
> We have upgraded from 0.6.5 to 0.6.6 and our nodes will not come up. See
> error below. Did something change that we need to change in the config
> files?
>
> Thanks.
>
>  INFO 22:13:37,761 JNA not found. Native methods will be disabled.
>  INFO 22:13:38,083 DiskAccessMode isstandard, indexAccessMode is mmap
> ERROR 22:13:38,201 Exception encountered during startup.
> java.lang.ExceptionInInitializerError
>         at
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:73)
>         at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:224)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
> javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.locator:type=DynamicEndpointSnitch
>         at
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:578)
>         ... 2 more
> Caused by: java.lang.RuntimeException:
> javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.locator:type=DynamicEndpointSnitch
>         at
> org.apache.cassandra.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:90)
>         at
> org.apache.cassandra.config.DatabaseDescriptor.readTablesFromXml(DatabaseDescriptor.java:667)
>         at
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:530)
>         ... 2 more
> Caused by: javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.locator:type=DynamicEndpointSnitch
>         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.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:86)
>         ... 4 more
> Exception encountered during startup.
> java.lang.ExceptionInInitializerError
>         at
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:73)
>         at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:224)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
> javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.locator:type=DynamicEndpointSnitch
>         at
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:578)
>         ... 2 more
> Caused by: java.lang.RuntimeException:
> javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.locator:type=DynamicEndpointSnitch
>         at
> org.apache.cassandra.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:90)
>         at
> org.apache.cassandra.config.DatabaseDescriptor.readTablesFromXml(DatabaseDescriptor.java:667)
>         at
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:530)
>         ... 2 more
> Caused by: javax.management.InstanceAlreadyExistsException:
> org.apache.cassandra.locator:type=DynamicEndpointSnitch
>         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.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:86)
>         ... 4 more
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Reply via email to