cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12643) Estimated histograms tend to overflow
Date Wed, 14 Sep 2016 22:17:20 GMT


Edward Capriolo commented on CASSANDRA-12643:

After enabling a reporter and starting up Cassandra I have observed the following stack trace.

java.lang.IllegalStateException: Unable to compute when histogram overflowed
at org.apache.cassandra.utils.EstimatedHistogram.percentile( ~apache-cassandra-3.0.8.jar:3.0.8
at org.apache.cassandra.metrics.EstimatedHistogramReservoir$HistogramSnapshot.getValue(
at com.codahale.metrics.Snapshot.getMedian( ~metrics-core-3.1.0.jar:3.1.0
at com.librato.metrics.MetricsLibratoBatch.addSampling( ~metrics-librato-
at com.librato.metrics.MetricsLibratoBatch.addHistogram( ~metrics-librato-
at ~metrics-librato-
at ~metrics-core-3.1.0.jar:3.1.0
at ~metrics-librato-
at com.codahale.metrics.ScheduledReporter$ metrics-core-3.1.0.jar:3.1.0
at java.util.concurrent.Executors$ na:1.8.0_101
at java.util.concurrent.FutureTask.runAndReset( na:1.8.0_101
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker( na:1.8.0_101
at java.util.concurrent.ThreadPoolExecutor$ na:1.8.0_101
at na:1.8.0_101

According to the inline documentation the largest bucket should accommodate 36 seconds. The
server only being alive for a few seconds it seems unlikely that these can be overflowed.

This overflow bubbles up to the report and this prevents data from being exported. I poked
around and do not understand why a fresh server would overflow. I found some nits in the code
I can fix and maybe someone with more brain power can chime in.

> Estimated histograms tend to overflow
> -------------------------------------
>                 Key: CASSANDRA-12643
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo

This message was sent by Atlassian JIRA

View raw message