ClusterTool throws exception for get_endpoints
----------------------------------------------
Key: CASSANDRA-2437
URL: https://issues.apache.org/jira/browse/CASSANDRA-2437
Project: Cassandra
Issue Type: Bug
Affects Versions: 0.8
Reporter: Chris Goffinet
Assignee: Chris Goffinet
Fix For: 0.8
ByteBuffer is not serializable over JMX.
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy0.getNaturalEndpoints(Unknown Source)
at org.apache.cassandra.tools.NodeProbe.getEndpoints(NodeProbe.java:446)
at
org.apache.cassandra.tools.ClusterCmd.printEndpoints(ClusterCmd.java:146)
at org.apache.cassandra.tools.ClusterCmd.main(ClusterCmd.java:240)
Caused by: java.io.NotSerializableException: java.nio.HeapByteBuffer
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at java.rmi.MarshalledObject.<init>(MarshalledObject.java:101)
at
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:990)
at
javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
... 4 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira