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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0, 3.0.0-alpha2
    • Fix Version/s: None
    • Component/s: fairscheduler
    • Labels:

      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

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

              Dates

              • Created:
                Updated: