Hi,
We've been using opscenter for a while now on our cluster, and are very happy with it.
Last week we doubled our number of nodes, and now I'm trying to install the opscenter agent on the new nodes.
The new nodes are running CentOS 6.2 (like the existing ones) and we are using opscenter 1.4.1.
I use the manual install (http://www.datastax.com/docs/opscenter/install_agents#installing-opscenter-agents-manual-install) method, and i don't have any problems with it.
But when the agent is started, the opscenterd doesn't see the agent.
Looking into the log i see an error every 30 seconds:
[root@bemobile-cass5 opscenter-agent]# cat /var/log/opscenter-agent/agent.log
Starting OpsCenter agent monitor opscenter_agent_monitor
INFO [main] 2012-03-31 15:15:56,079 Loading conf files: /usr/share/opscenter-agent/opscenter-agent-2.6-standalone.jar, /var/lib/opscenter-agent/conf/address.yaml
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry
at clojure.lang.LazySeq.sval(LazySeq.java:47)
at clojure.lang.LazySeq.seq(LazySeq.java:56)
at clojure.lang.RT.seq(RT.java:450)
at clojure.core$seq.invoke(core.clj:122)
at clojure.core$r.invoke(core.clj:793)
at clojure.core$into.invoke(core.clj:2614)
at opsagent.conf$load_conf.invoke(conf.clj:90)
at opsagent.opsagent$_main.doInvoke(opsagent.clj:167)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at opsagent.opsagent.main(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry
at clojure.lang.LazySeq.sval(LazySeq.java:47)
at clojure.lang.LazySeq.seq(LazySeq.java:56)
at clojure.lang.RT.seq(RT.java:450)
at clojure.core$seq.invoke(core.clj:122)
at clojure.core$r.invoke(core.clj:793)
at clojure.core$into.invoke(core.clj:2614)
at opsagent.conf$load_conf_file.invoke(conf.clj:86)
at clojure.core$map$fn__425.invoke(core.clj:2096)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
... 9 more
Caused by: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry
at opsagent.conf$load_conf_file$fn__321.invoke(conf.clj:85)
at clojure.core$map$fn__425.invoke(core.clj:2096)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
... 17 more
The new nodes are running:
[root@bemobile-cass5 opscenter-agent]# java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
The existing ones are running Java(TM) SE Runtime Environment (build 1.6.0_29-b11), but i downgraded one of the new nodes to this version also and I had the same problem.
I don't see any problems also in the address.yaml:
[root@bemobile-cass5 ~]# cat /var/lib/opscenter-agent/conf/address.yaml
stomp_interface: "10.243.208.110"
local_interface: "10.244.208.185"
Any ideas what i am doing wrong ?
