[ https://issues.apache.org/jira/browse/CASSANDRA-19771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885158#comment-17885158 ]
Maxim Muzafarov commented on CASSANDRA-19771: --------------------------------------------- [~suhel] The GcMBean you're trying to call with a test that isn't initialised is the cause of your error. This should help: {code:java} @BeforeClass public static void setUp() throws Exception { requireNetwork(); startJMXServer(); GCInspector.register(); // initialization } {code} > NodeTool gcstats should have JSON output option > ----------------------------------------------- > > Key: CASSANDRA-19771 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19771 > Project: Cassandra > Issue Type: Improvement > Components: Tool/nodetool > Reporter: Dhanush Ananthkar > Assignee: Mohammad Suhel > Priority: Normal > Attachments: Screenshot from 2024-08-27 17-46-59.png > > Time Spent: 3h 20m > Remaining Estimate: 0h > > *nodetool help gcstats* does not show a JSON option > > {noformat} > nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)] > [(-pp | --print-port)] [(-pw <password> | --password > <password>)] > [(-pwf <passwordFilePath> | --password-file > <passwordFilePath>)] > [(-u <username> | --username <username>)] gcstats > {noformat} > -- 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