Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
Description
nodetool info crash when granted with readonly jmx access
In the example given in attachment, the jmxremote.access file gives readonly access to the cassandra jmx role.
When the role is granted to readwrite access, everything works.
The main reason is that node datacenter and rack info are fetched by an operation invocation instead of by an attribute read. The former one is not allowed to the role with readonly access.
This is a security concern because nodetool info could be called by a monitoring agent (Nagios for instance) and enterprise policy often don't allow these agents to connect to JMX with higher privileges than "readonly".