Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We noticed an exception being thrown from the network threads when updating some of the request histograms. Example stack trace:
java.util.NoSuchElementException
at java.util.concurrent.ConcurrentSkipListMap.firstKey(ConcurrentSkipListMap.java:2064)
at com.yammer.metrics.stats.ExponentiallyDecayingSample.update(ExponentiallyDecayingSample.java:102)
at com.yammer.metrics.stats.ExponentiallyDecayingSample.update(ExponentiallyDecayingSample.java:81)
at com.yammer.metrics.core.Histogram.update(Histogram.java:110)
Searching the error I found a similar ticket resolved in Cassandra by updating their dropwizard dependency to pull in https://github.com/dropwizard/metrics/pull/1436. https://issues.apache.org/jira/browse/CASSANDRA-15472
Kafka currently still uses yammer metrics, so we would need to take https://cwiki.apache.org/confluence/display/KAFKA/KIP-510%3A+Metrics+library+upgrade forward to upgrade to a dropwizard version that fixes this issue.