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

Dump scheduler and queue state information into FairScheduler DEBUG log

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      To improve the debugging of scheduler issues it would be a big improvement to be able to dump the scheduler state into a log on request.
      The Dump the scheduler state at a point in time would allow debugging of a scheduler that is not hung (deadlocked) but also not assigning containers. Currently we do not have a proper overview of what state the scheduler and the queues are in and we have to make assumptions or guess
      The scheduler and queue state needed would include (not exhaustive):

      • instantaneous and steady fair share (app / queue)
      • AM share and resources
      • weight
      • app demand
      • application run state (runnable/non runnable)
      • last time at fair/min share

        Attachments

        1. YARN-6042.branch-2.001.patch
          18 kB
          Yufei Gu
        2. YARN-6042.010.patch
          18 kB
          Yufei Gu
        3. YARN-6042.009.patch
          18 kB
          Yufei Gu
        4. YARN-6042.008.patch
          18 kB
          Yufei Gu
        5. YARN-6042.007.patch
          16 kB
          Yufei Gu
        6. YARN-6042.006.patch
          16 kB
          Yufei Gu
        7. YARN-6042.005.patch
          16 kB
          Yufei Gu
        8. YARN-6042.004.patch
          16 kB
          Yufei Gu
        9. YARN-6042.003.patch
          16 kB
          Yufei Gu
        10. YARN-6042.002.patch
          12 kB
          Yufei Gu
        11. YARN-6042.001.patch
          11 kB
          Yufei Gu

          Issue Links

            Activity

              People

              • Assignee:
                yufeigu Yufei Gu
                Reporter:
                yufeigu Yufei Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: