in my previous job we ran across the issue that JMX allocates ports for RMI
dynamically, so that
nodetool does not work if our env is in EC2, and all the ports have to be
specifically opened, and
we can't open a range of ports, but only specific ports.

at the time, we followed this:

https://blogs.oracle.com/jmxetc/entry/connecting_through_firewall_using_jmx


to create a small javaagent jar for cassandra startup, so that we use a
fixed RMI port.



now, does Cassandra come with an out-of-the box solution to fix the above
problem? or do I have
to create that little javaagent jar myself?

Thanks
Yang

Reply via email to