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

Yufei Gu commented on YARN-6112:
--------------------------------

Thanks [~kasha] for the review and commit.

> UpdateCallDuration is calculated only when debug logging is enabled
> -------------------------------------------------------------------
>
>                 Key: YARN-6112
>                 URL: https://issues.apache.org/jira/browse/YARN-6112
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>             Fix For: 2.9.0
>
>         Attachments: YARN-6112.001.patch, YARN-6112.002.patch, 
> YARN-6112.003.patch, YARN-6112.branch-2.001.patch
>
>
> In the update thread of Fair Scheduler, the 
> {{fsOpDurations.addUpdateCallDuration()}} records the duration of 
> {{update()}}, it should be independent to LOG level. YARN-4752 put the it 
> inside a {{LOG.isDebugEnabled()}} block. Not sure any particular reason to do 
> that. cc [~kasha]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to