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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to