Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-10926

Improve error message when removenode called on nonmember node

    XMLWordPrintableJSON

Details

    Description

      [root@centos-2 ~]# nodetool -u xxx -pw xxxx removenode 97a9042d-ea14-49a9-9f22-2dab4b762673
      error: null
      -- StackTrace --
      java.lang.AssertionError
              at org.apache.cassandra.locator.TokenMetadata.getTokens(TokenMetadata.java:474)
              at org.apache.cassandra.service.StorageService.removeNode(StorageService.java:3793)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at sun.reflect.misc.Trampoline.invoke(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
              at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
              at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
              at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
              at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
              at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
              at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
              at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(Unknown Source)
              at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
              at javax.management.remote.rmi.RMIConnectionImpl.access$300(Unknown Source)
              at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
              at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
              at sun.rmi.transport.Transport$1.run(Unknown Source)
              at sun.rmi.transport.Transport$1.run(Unknown Source)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.rmi.transport.Transport.serviceCall(Unknown Source)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$81(Unknown Source)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      
      

      Attachments

        Activity

          People

            jkni Joel Knighton
            depend Kai Wang
            Joel Knighton
            Joshua McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: