I've had a bit more of a look and am a bit confused between what I see in the stack below and what's in the source. What version are you seeing ?
Thank ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 14 May 2011, at 03:23, Anurag Gujral wrote: > I checked file cassandra-topology.properties everything looks good to me. > Please Advise on next steps I can do. > Thanks > Anurag > > On Fri, May 13, 2011 at 3:52 AM, aaron morton <aa...@thelastpickle.com> wrote: > I think you may have a data centre defined in the strategy_options for the > keyspace that does not have any nodes in it. Check the dc names in the create > keyspace statement match the names in your cassandra-topology.propeties file > (assuming you are using the PropertyFileSnitch), or that you have nodes > assigned to all dc's. > > Hope that helps. > > ----------------- > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 13 May 2011, at 13:45, Anurag Gujral wrote: > > > Hi All, > > I run following command on one of my nodes to move the token > > from 0 to 2. > > /usr/cassandra/cassandra/bin/nodetool -h 10.170.195.204 -p 8080 move 2. I > > dont understand why is this happening? > > > > I am getting the following assertion error: > > Exception in thread "main" java.lang.AssertionError > > at > > org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:389) > > at > > org.apache.cassandra.locator.TokenMetadata.ringIterator(TokenMetadata.java:414) > > at > > org.apache.cassandra.locator.NetworkTopologyStrategy.calculateNaturalEndpoints(NetworkTopologyStrategy.java:94) > > at > > org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:929) > > at > > org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:895) > > at > > org.apache.cassandra.service.StorageService.startLeaving(StorageService.java:1595) > > at > > org.apache.cassandra.service.StorageService.move(StorageService.java:1733) > > at > > org.apache.cassandra.service.StorageService.move(StorageService.java:1708) > > 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) > > > > Thanks > > Anurag > > > >