【发布时间】:2016-06-23 23:26:56
【问题描述】:
使用 DataStax Enterprise,我按照此处的说明对我的 JMX 会话进行了密码保护: https://support.datastax.com/hc/en-us/articles/204226179-Step-by-step-instructions-for-securing-JMX-authentication-for-nodetool-utility-OpsCenter-and-JConsole
不幸的是,我在尝试连接时总是遇到身份验证错误。
我确定我使用了正确的凭据,因为我可以使用 jmxconsole 使用我应用的凭据连接到服务器。
ubuntu@myServer:/etc/bps$ nodetool status -u cassandra -pw somepass
error: Authentication failed! Credentials required
-- StackTrace --
java.lang.SecurityException: Authentication failed! Credentials required
at com.sun.jmx.remote.security.JMXPluggableAuthenticator.authenticationFailure(JMXPluggableAuthenticator.java:211)
.....
【问题讨论】:
标签: cassandra jmx datastax-enterprise