Cassandra节点工具状态不工作:未找到属性异常:无此属性:端点到主机ID

iszxjhcz  于 2022-11-05  发布在  Cassandra
关注(0)|答案(1)|浏览(122)

我在Cassandra节点上运行nodetool status时出现以下异常。我使用的是DSE 4.7,您知道问题出在哪里吗?所有节点都在运行相同版本的DSE

-bash-4.1$ nodetool status

错误:没有这样的属性:端点到主机ID--堆栈跟踪--

javax.management.AttributeNotFoundException: No such attribute: EndpointToHostId
    at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:81)
    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)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1464)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
    at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:657)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    at sun.rmi.transport.Transport$1.run(Transport.java:177)
    at sun.rmi.transport.Transport$1.run(Transport.java:174)
    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:556)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:903)
    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:273)
    at com.sun.proxy.$Proxy7.getEndpointToHostId(Unknown Source)
    at org.apache.cassandra.tools.NodeProbe.getHostIdMap(NodeProbe.java:514)
    at org.apache.cassandra.tools.NodeTool$Status.execute(NodeTool.java:2198)
    at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:292)
    at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:206)
628mspwn

628mspwn1#

当我的工作站上的nodetool版本与我连接的Cassandra版本不同时,我看到了这个问题。请确保您使用的是相同的版本。

相关问题