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

Mark Miller commented on SOLR-8095:
-----------------------------------

The problem is that getting metrics like this is per file and so very network 
chatty and slow. 

bq. If you have a rapidly changing index then it can take a long time to 
generate the metrics, since we lose out on the benefits of caching the info 
then.

For this type of data, I think we would prefer stale data to this limitation. 
Perhaps we should be doing time based caching instead. Fairly trappy to have 
this work okay on fairly static indexes and then cause a major performance 
issue as you move towards NRT settings.

> Allow disabling HDFS Locality Metrics
> -------------------------------------
>
>                 Key: SOLR-8095
>                 URL: https://issues.apache.org/jira/browse/SOLR-8095
>             Project: Solr
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: Mike Drob
>              Labels: metrics
>             Fix For: Trunk
>
>         Attachments: SOLR-8095.patch
>
>
> We added metrics, but not a way to configure/turn them off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to