I have a cassandra cluster running on AWS EC2. It has 4 nodes, all the nodes have remote jmx enabled without any authentication and jmx port 7199 is open.
From my local system, running nodetool -h <node-ip> status
take ~9mins to complete.
But all other commands like gossipinfo
, tpstats
completes in less than 10sec.
Running nodetool -h <any-node-ip> status
through ssh on any of the nodes completes in ~3 secs.
Any idea why this is happening in case of remote jmx? Is it possible that nodetool status command needs to make multiple network calls from my local system to each nodes, causing overall slowdown?
Cassandra Version: 3.11.4