cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13840) GraphiteReporter stops reporting from Memory concurrent access
Date Mon, 04 Sep 2017 05:32:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152140#comment-16152140
] 

mck commented on CASSANDRA-13840:
---------------------------------


|| branch || testall || dtest ||
| [cassandra-2.1_13840|https://github.com/thelastpickle/cassandra/tree/mck/cassandra-2.1_13840]
| [testall|https://circleci.com/gh/thelastpickle/cassandra/tree/mck%2Fcassandra-2.1_13840]
| [dtest|https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-devbranch-dtest/266]
|

> GraphiteReporter stops reporting from Memory concurrent access
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-13840
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13840
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Observability
>            Reporter: mck
>            Assignee: mck
>             Fix For: 2.1.x
>
>
> Gauges in the GraphiteReporter can, when getting compression offheap size, trip over
the assertion in {{Memory.size()}}. As the GraphiteReporter only handles Exceptions this crashes
the reporter and it sends no more metrics.
> [~benedict] described it [here|https://issues.apache.org/jira/browse/CASSANDRA-9625?focusedCommentId=14711914&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14711914]
and [~jbellis] confirmed that it's now ok to remove the assertion.
> {noformat}
> java.lang.AssertionError: null
>         at org.apache.cassandra.io.util.Memory.size(Memory.java:359) ~[apache-cassandra-2.1.12.jar:2.1.12]
>         at org.apache.cassandra.io.compress.CompressionMetadata.offHeapSize(CompressionMetadata.java:167)
~[apache-cassandra-2.1.12.jar:2.1.12]
>         at org.apache.cassandra.io.sstable.SSTableReader.getCompressionMetadataOffHeapSize(SSTableReader.java:1315)
~[apache-cassandra-2.1.12.jar:2.1.12]
>         at org.apache.cassandra.metrics.ColumnFamilyMetrics$30.value(ColumnFamilyMetrics.java:573)
~[apache-cassandra-2.1.12.jar:2.1.12]
>         at org.apache.cassandra.metrics.ColumnFamilyMetrics$30.value(ColumnFamilyMetrics.java:568)
~[apache-cassandra-2.1.12.jar:2.1.12]
>         at com.yammer.metrics.reporting.GraphiteReporter.processGauge(GraphiteReporter.java:309)
~[metrics-graphite-2.2.0.jar:na]
>         at com.yammer.metrics.reporting.GraphiteReporter.processGauge(GraphiteReporter.java:26)
~[metrics-graphite-2.2.0.jar:na]
>         at com.yammer.metrics.core.Gauge.processWith(Gauge.java:28) ~[metrics-core-2.2.0.jar:na]
>         at com.yammer.metrics.reporting.GraphiteReporter.printRegularMetrics(GraphiteReporter.java:251)
~[metrics-graphite-2.2.0.jar:na]
>         at com.yammer.metrics.reporting.GraphiteReporter.run(GraphiteReporter.java:216)
~[metrics-graphite-2.2.0.jar:na]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_101]
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_101]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_101]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_101]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_101]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_101]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message