无法在Cassandra中将节点添加到集群从2.1.0升级到2.1.7

时间:2015-07-10 15:19:39

标签: cassandra upgrade datastax

我正在将生产服务器上的cassandra从2.1.0升级到2.1.7(最新的稳定版本)。我已经为此做了一个并行集群,用于在将生产转移到datastax cassandra 2.1.7二进制文件之前进行测试。我用2.1.7二进制文件创建了两个服务器,并在服务器上复制了我的生产数据。当我启动节点1然后一切似乎都很好,但在启动另一个节点时,我收到错误。 “错误:群集中没有节点。此节点是否已完成启动?”。 在运行nodetool状态时我只能看到一个节点并得到以下错误。

  

nodetool status error:群集中没有节点。有这个节点
  完成了启动?
   - StackTrace - java.lang.RuntimeException:集群中没有节点。该节点是否已完成启动?
          在org.apache.cassandra.dht.RandomPartitioner.describeOwnership(RandomPartitioner.java:143)
          在org.apache.cassandra.service.StorageService.getOwnership(StorageService.java:3900)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          在java.lang.reflect.Method.invoke(Method.java:606)
          在sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
          at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          在java.lang.reflect.Method.invoke(Method.java:606)
          at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
          at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
          at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
          at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
          at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:83)
          at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
          at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
          在javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1464)
          在javax.management.remote.rmi.RMIConnectionImpl.access $ 300(RMIConnectionImpl.java:97)
          at javax.management.remote.rmi.RMIConnectionImpl $ PrivilegedOperation.run(RMIConnectionImpl.java:1328)
          在javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
          在javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:657)
          at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          在java.lang.reflect.Method.invoke(Method.java:606)
          在sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
          at sun.rmi.transport.Transport $ 1.run(Transport.java:177)
          在sun.rmi.transport.Transport $ 1.run(Transport.java:174)
          at java.security.AccessController.doPrivileged(Native Method)
          在sun.rmi.transport.Transport.serviceCall(Transport.java:173)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
          at sun.rmi.transport.tcp.TCPTransport $ ConnectionHandler.run0(TCPTransport.java:811)
          at sun.rmi.transport.tcp.TCPTransport $ ConnectionHandler.run(TCPTransport.java:670)
          在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)
          在java.lang.Thread.run(Thread.java:744)

请建议正确的方法。

0 个答案:

没有答案