[
https://issues.apache.org/jira/browse/HDFS-12863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299358#comment-16299358
]
Akira Ajisaka commented on HDFS-12863:
--------------------------------------
Thank you, [~anu]!
> Ozone: Avoid configuration.get() call for each container report
> ---------------------------------------------------------------
>
> Key: HDFS-12863
> URL: https://issues.apache.org/jira/browse/HDFS-12863
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Priority: Minor
> Fix For: HDFS-7240
>
> Attachments: HDFS-12863-HDFS-7240.001.patch,
> HDFS-12863-HDFS-7240.002.patch
>
>
> In ContainerReportManagerImpl.java,
> {{OzoneClientUtils.getScmHeartbeatInterval(config)}} is called for each
> container report. We should cache the interval and avoid calling
> {{Configuration.get(name)}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]