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

Anu Engineer commented on HDFS-12863:
-------------------------------------

+1, thanks for the contribution. I will commit this to the feature branch.


> 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
>         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]

Reply via email to