hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6112) UpdateCallDuration is calculated only when debug logging is enabled
Date Thu, 09 Feb 2017 21:34:41 GMT

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

Hudson commented on YARN-6112:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11228 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11228/])
YARN-6112. UpdateCallDuration is calculated only when debug logging is (kasha: rev 9b85053583a3560f93062b656061d11b1b9c664f)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSOpDurations.java


> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message