当我使用datastax-agent
执行version 5.2.X
时,我收到以下错误:
INFO [main] 2016-01-20 11:56:34,917 Waiting for the config from OpsCenter
INFO [main] 2016-01-20 11:56:34,918 Attempting to determine Cassandra's broadcast address through JMX
INFO [main] 2016-01-20 11:56:34,919 Starting Stomp
INFO [main] 2016-01-20 11:56:34,919 Starting up agent communcation with OpsCenter.
INFO [Initialization] 2016-01-20 11:56:35,287 Using 122.21.0.131 as the cassandra broadcast address
INFO [Initialization] 2016-01-20 11:56:35,486 cassandra RPC address is nil
INFO [Initialization] 2016-01-20 11:56:35,487 agent RPC address is 122.21.0.131
INFO [Initialization] 2016-01-20 11:56:35,487 agent RPC broadcast address is 122.21.0.131
ERROR [clojure-agent-send-off-pool-0] 2016-01-20 11:56:35,814 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
ERROR [clojure-agent-send-off-pool-1] 2016-01-20 11:56:35,814 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
ERROR [clojure-agent-send-off-pool-0] 2016-01-20 11:56:36,859 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
ERROR [clojure-agent-send-off-pool-1] 2016-01-20 11:56:36,859 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
但是我没找到我可以把cassandra的用户名和密码放在哪里?任何建议将不胜感激!
答案 0 :(得分:0)
您可以尝试在address.yaml配置文件中手动配置凭据。
cassandra_user: cassandra_pass: