Using nodetool with authentication

How to use nodetool with authentication.

After configuring JMX authentication, using nodetool requires the -u and -p options to the nodetool commands.

Procedure

Run nodetool using a pre-configured JMX username and password for <username> and <password>:
nodetool -u <username> -pw <password>