You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/21 13:17:00 UTC

[jira] [Commented] (HDFS-16882) RBF: Add cache hit rate metric in MountTableResolver#getDestinationForPath

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

ASF GitHub Bot commented on HDFS-16882:
---------------------------------------

hfutatzhanghb commented on PR #5423:
URL: https://github.com/apache/hadoop/pull/5423#issuecomment-1556177990

   @ayushtkn , Sir, could you please help me review this code~ thanks.




> RBF: Add cache hit rate metric in MountTableResolver#getDestinationForPath
> --------------------------------------------------------------------------
>
>                 Key: HDFS-16882
>                 URL: https://issues.apache.org/jira/browse/HDFS-16882
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: rbf
>    Affects Versions: 3.3.4
>            Reporter: farmmamba
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>         Attachments: locationCache.png
>
>
> Currently, the default value of "dfs.federation.router.mount-table.cache.enable" is true and the default value of "dfs.federation.router.mount-table.max-cache-size" is 10000.
> But there is no metric that display cache hit rate, I think we can add a hit rate metric to watch the Cache performance and better tuning the parameters.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org