datastax / diagnostic-collection

Diagnostic Collector for Apache Cassandra
Apache License 2.0
28 stars 35 forks source link

nodetool options are being ignored #39

Closed msmygit closed 3 years ago

msmygit commented 3 years ago
$ ./collect_diag.sh -n "-u cassandra -pw cassandra" -t dse
Using output directory: /tmp/tmp.gZsxsyrvhg
File with hosts isn't specified, or doesn't exist, using 'nodetool status'
error: Authentication failed! Credentials required
-- StackTrace --
java.lang.SecurityException: Authentication failed! Credentials required
    at com.sun.jmx.remote.security.JMXPluggableAuthenticator.authenticationFailure(JMXPluggableAuthenticator.java:211)