BrianGallew / cassandra_range_repair

python script to repair the primary range of a node in N discrete steps
MIT License
109 stars 47 forks source link

failed to run repair due to JMX authentication expecting username and password #61

Open venkatr2018 opened 4 years ago

venkatr2018 commented 4 years ago

In my db nodetool command will work only with below arguments. nodetool -h -u cassandra -pw xxxxxx repair

Failed to execute repair script and triggered below errors. Could any one please suggest where can i update the script to pass arguments <hostname/ip> -u -pw

Script error:

./range_repair.py -k Error fetching ring tokens nodetool: Failed to connect to '127.0.0.1:7199' - FailedLoginException: 'Required key 'username' is missing'.