Before 1.0.8, use https://issues.apache.org/jira/browse/CASSANDRA-3337 to remove it.
On Tue, Feb 14, 2012 at 3:44 PM, Franc Carter <franc.car...@sirca.org.au> wrote: > > I teminated (ec2 destruction) a node that I was wedged during bootstrap. > However when I try to removetoken I get 'Token not found'. > > It looks a bit like this issue ? > > https://issues.apache.org/jira/browse/CASSANDRA-3737 > > nodetool -h 127.0.0.1 ring gives this > > Address DC Rack Status State Load > Owns Token > > 85070591730234615865843651857942052864 > 10.253.65.203 us-east 1a Up Normal 11.18 GB > 50.00% 0 > 10.252.82.64 us-east 1a Down Joining 320.45 KB > 25.00% 42535295865117307932921825928971026432 > 10.253.86.224 us-east 1a Up Normal 11.01 GB > 25.00% 85070591730234615865843651857942052864 > > and > > nodetool -h 127.0.0.1 removetoken 42535295865117307932921825928971026432 > > gives > > xception in thread "main" java.lang.UnsupportedOperationException: Token not > found. > at > org.apache.cassandra.service.StorageService.removeToken(StorageService.java:2369) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) > at > com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) > at > com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) > at > com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) > at > com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) > at > javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) > at > javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) > at > javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) > at > javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360) > at > javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) > at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) > at sun.rmi.transport.Transport$1.run(Transport.java:159) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:155) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > Any ideas on how to deal with this ? > > thanks > > -- > > Franc Carter | Systems architect | Sirca Ltd > > franc.car...@sirca.org.au | www.sirca.org.au > > Tel: +61 2 9236 9118 > > Level 9, 80 Clarence St, Sydney NSW 2000 > > PO Box H58, Australia Square, Sydney NSW 1215 > >