cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalin Alexandru Zamfir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8602) ArithmethicException: Divide by zero in agent (cassandra)
Date Mon, 12 Jan 2015 21:51:34 GMT
Catalin Alexandru Zamfir created CASSANDRA-8602:
---------------------------------------------------

             Summary: ArithmethicException: Divide by zero in agent (cassandra)
                 Key: CASSANDRA-8602
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8602
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Catalin Alexandru Zamfir


We got the following exception and no data is currently showing on the graphs in OpsCenter.
From the datastax-agent logs:

{{
ERROR [jmx-metrics-2] 2015-01-11 03:55:00,000 Error getting CF metrics
java.lang.ArithmeticException: Divide by zero
        at clojure.lang.Numbers.divide(Numbers.java:156)
        at opsagent.rollup$transform_value.invoke(rollup.clj:43)
        at opsagent.rollup$add_value.invoke(rollup.clj:132)
        at opsagent.rollup$add_value.invoke(rollup.clj:150)
        at opsagent.rollup$add_value.invoke(rollup.clj:150)
        at opsagent.rollup$process_keypair$fn__701.invoke(rollup.clj:211)
        at opsagent.cache$update_cache_value_default$fn__481$fn__482.invoke(cache.clj:23)
        at clojure.lang.AFn.applyToHelper(AFn.java:161)
        at clojure.lang.AFn.applyTo(AFn.java:151)
        at clojure.lang.Ref.alter(Ref.java:174)
        at clojure.core$alter.doInvoke(core.clj:2244)
        at clojure.lang.RestFn.invoke(RestFn.java:425)
        at opsagent.cache$update_cache_value_default$fn__481.invoke(cache.clj:23)
        at clojure.lang.AFn.call(AFn.java:18)
        at clojure.lang.LockingTransaction.run(LockingTransaction.java:263)
        at clojure.lang.LockingTransaction.runInTransaction(LockingTransaction.java:231)
        at opsagent.cache$update_cache_value_default.invoke(cache.clj:22)
        at opsagent.rollup$process_keypair.invoke(rollup.clj:211)
        at opsagent.rollup$process_metric_map.invoke(rollup.clj:217)
        at opsagent.metrics.jmx$start_jmx_metric_collection$send_metrics__5266.invoke(jmx.clj:200)
        at opsagent.metrics.jmx$cf_metric_helper.invoke(jmx.clj:92)
        at opsagent.metrics.jmx$start_pool$fn__5238.invoke(jmx.clj:148)
        at clojure.lang.AFn.run(AFn.java:24)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
ERROR [jmx-metrics-2] 2015-01-11 14:27:00,000 Error getting CF metrics
java.lang.ArithmeticException: Divide by zero
        at clojure.lang.Numbers.divide(Numbers.java:156)
        at opsagent.rollup$transform_value.invoke(rollup.clj:43)
        at opsagent.rollup$add_value.invoke(rollup.clj:132)
        at opsagent.rollup$add_value.invoke(rollup.clj:150)
        at opsagent.rollup$add_value.invoke(rollup.clj:150)
        at opsagent.rollup$process_keypair$fn__701.invoke(rollup.clj:211)
        at opsagent.cache$update_cache_value_default$fn__481$fn__482.invoke(cache.clj:23)
        at clojure.lang.AFn.applyToHelper(AFn.java:161)
        at clojure.lang.AFn.applyTo(AFn.java:151)
        at clojure.lang.Ref.alter(Ref.java:174)
        at clojure.core$alter.doInvoke(core.clj:2244)
        at clojure.lang.RestFn.invoke(RestFn.java:425)
        at opsagent.cache$update_cache_value_default$fn__481.invoke(cache.clj:23)
        at clojure.lang.AFn.call(AFn.java:18)
        at clojure.lang.LockingTransaction.run(LockingTransaction.java:263)
        at clojure.lang.LockingTransaction.runInTransaction(LockingTransaction.java:231)
        at opsagent.cache$update_cache_value_default.invoke(cache.clj:22)
        at opsagent.rollup$process_keypair.invoke(rollup.clj:211)
        at opsagent.rollup$process_metric_map.invoke(rollup.clj:217)
        at opsagent.metrics.jmx$start_jmx_metric_collection$send_metrics__5266.invoke(jmx.clj:200)
        at opsagent.metrics.jmx$cf_metric_helper.invoke(jmx.clj:92)
        at opsagent.metrics.jmx$start_pool$fn__5238.invoke(jmx.clj:148)
        at clojure.lang.AFn.run(AFn.java:24)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744
}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message