[
https://issues.apache.org/jira/browse/KUDU-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Serbin updated KUDU-2749:
--------------------------------
Description:
As [~adar] noticed during review of https://gerrit.cloudera.org/#/c/12776/ ,
both {{BlockCache}} and {{FileCache}} use the same instances of metric gauges.
That means same gauges are updated upon access to unrelated objects in
{{BlockCache}} (blocks) and {{FileCache}} (file descriptors).
This should be fixed, since each of those caches track different entities and
use different units for the corresponding metrics.
was:As [~adar] noticed during review of
https://gerrit.cloudera.org/#/c/12776/ , both {{BlockCache}} and {{FileCache}}
use the same set of metrics. This should be fixed, since each of those caches
track different entities and the units for the metrics are different as well.
> Both BlockCache and FileCache use the same set of metric gauge instances
> ------------------------------------------------------------------------
>
> Key: KUDU-2749
> URL: https://issues.apache.org/jira/browse/KUDU-2749
> Project: Kudu
> Issue Type: Bug
> Affects Versions: 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0,
> 1.7.1, 1.9.0
> Reporter: Alexey Serbin
> Assignee: Alexey Serbin
> Priority: Major
>
> As [~adar] noticed during review of https://gerrit.cloudera.org/#/c/12776/ ,
> both {{BlockCache}} and {{FileCache}} use the same instances of metric
> gauges. That means same gauges are updated upon access to unrelated objects
> in {{BlockCache}} (blocks) and {{FileCache}} (file descriptors).
> This should be fixed, since each of those caches track different entities and
> use different units for the corresponding metrics.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)