You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yufei Gu (JIRA)" <ji...@apache.org> on 2017/03/31 21:39:41 UTC

[jira] [Created] (YARN-6425) Move out FS state dump code out of method update()

Yufei Gu created YARN-6425:
------------------------------

             Summary: 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: 3.0.0-alpha2, 2.9.0
            Reporter: Yufei Gu


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