[ https://issues.apache.org/jira/browse/CASSANDRA-18572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730074#comment-17730074 ]
Stefan Miklosovic edited comment on CASSANDRA-18572 at 6/7/23 11:27 AM: ------------------------------------------------------------------------ Instance.nodetoolResult is not using JMX internally but it throws UnsupportedOperationException in InternalNodeProbe. This makes calls to instance.nodetoolResult("info"), for example, impossible, because these commands are using JMX / calling methods which are throwing exception and it makes the testing painful. There is no reason to not support this if Instance has JMX feature as it was added recently. was (Author: smiklosovic): Instance.nodetoolResult is not using JMX internally but it throws UnsupportedOperationException in InternalNodeProbe. This makes calls to instance.nodetoolResult("info"), for example, impossible, because these commands are using JMX / calling methods which are throwing exception and it makes the testing painful. There is no reason to support this if Instance has JMX feature as it was added recently. > Instance.nodetoolResult should connect to JMX if there is such feature > enabled in its config > -------------------------------------------------------------------------------------------- > > Key: CASSANDRA-18572 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18572 > Project: Cassandra > Issue Type: Improvement > Components: Test/dtest/java > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 5.x > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org