hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6425) Move out FS state dump code out of method update()
Date Sat, 01 Apr 2017 06:47:41 GMT

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

Yufei Gu commented on YARN-6425:
--------------------------------

Should be before {{fsOpDurations.addUpdateThreadRunDuration(duration)}} since {{UpdateThreadRunDuration}}
should include all operation inside the update thread.

> Move out FS state dump code out of method update()
> --------------------------------------------------
>
>                 Key: YARN-6425
>                 URL: https://issues.apache.org/jira/browse/YARN-6425
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.9.0, 3.0.0-alpha2
>            Reporter: Yufei Gu
>              Labels: newbie++
>
> Better to move out FS state dump code out of update()
> {code}
> if (LOG.isDebugEnabled()) {
>   if (--updatesToSkipForDebug < 0) {
>     updatesToSkipForDebug = UPDATE_DEBUG_FREQUENCY;
>     dumpSchedulerState();
>   }
> }
> {code}
> And, after that we should distinct between update call and update thread duration like
before YARN-6112. 



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