Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6425

Move out FS state dump code out of method update()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.9.0, 3.0.0-alpha2
    • None
    • fairscheduler

    Description

      Better to move out FS state dump code out of update()

      if (LOG.isDebugEnabled()) {
        if (--updatesToSkipForDebug < 0) {
          updatesToSkipForDebug = UPDATE_DEBUG_FREQUENCY;
          dumpSchedulerState();
        }
      }
      

      And, after that we should distinct between update call and update thread duration like before YARN-6112.

      Attachments

        1. YARN-6425.001.patch
          1 kB
          Yousef Abu-Salah
        2. YARN-6425_unit_test_run.docx
          7 kB
          Yousef Abu-Salah

        Activity

          People

            ykabusalah Yousef Abu-Salah
            yufeigu Yufei Gu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: