[ https://issues.apache.org/jira/browse/CASSANDRA-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1738: -------------------------------------- Fix Version/s: 0.7.0 > Decommission fails after original bootstrap > ------------------------------------------- > > Key: CASSANDRA-1738 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1738 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7 beta 3 > Reporter: Mike Bulman > Fix For: 0.7.0 > > > When first standing up a cluster, and trying to decommission (what appears to > be) any non-seed node, an error occurs. The node being targeted will log > "DECOMMISSIONING", but fail with the error below. Restarting seems to fix. > See steps and error below: > 2-node cluster: > start node0 + start node1 + decom node1 -> error > start node0 + start node1 + decom node0 -> success > start node0 + start node1 + restart node1 + decom node1 -> success > 3-node cluster: > start node0 + start node1 + start node2 + decom node2 -> error > start node0 + start node1 + start node2 + decom node1 -> error > start node0 + start node1 + start node2 + decom node0 -> success > start node0 + start node1 + start node2 + restart node2 + decom node2 -> > success > Error: > /usr/src/cassandra/branches/cassandra-0.7# bin/nodetool -h localhost > decommission > Exception in thread "main" java.lang.AssertionError > at > org.apache.cassandra.service.StorageService.getLocalToken(StorageService.java:1128) > at > org.apache.cassandra.service.StorageService.startLeaving(StorageService.java:1529) > at > org.apache.cassandra.service.StorageService.decommission(StorageService.java:1548) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111) > at > com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45) > at > com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:226) > at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) > at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:251) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795) > at > javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1450) > at > javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90) > at > javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1285) > at > javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1383) > at > javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:807) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) > at sun.rmi.transport.Transport$1.run(Transport.java:177) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:173) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.