[
https://issues.apache.org/jira/browse/SOLR-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221011#comment-14221011
]
Mark Miller commented on SOLR-6766:
-----------------------------------
The block cache should normally just be one now that the global block cache is
enabled by default. The per directory version should be special case at best.
Perhaps the HdfsDirectoryFactory could simply track all the Metrics objects and
spit out the stats for the caches (normally 1) that it tracks. If everything is
keyed on HdfsDirectoryFactory as the info bean, nothing else has to be changed.
Just spitballing though.
> Switch o.a.s.store.blockcache.Metrics to use JMX
> ------------------------------------------------
>
> Key: SOLR-6766
> URL: https://issues.apache.org/jira/browse/SOLR-6766
> Project: Solr
> Issue Type: Bug
> Reporter: Mike Drob
> Labels: metrics
>
> The Metrics class currently reports to hadoop metrics, but it would be better
> to report to JMX.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]