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

FairScheduler#getAppWeight() should be moved into FSAppAttempt#getWeight()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: fairscheduler
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      It's illogical that FSAppAttempt defers to FairScheduler for its own weight, especially when FairScheduler has to call back to FSAppAttempt to get the details to return a value. Instead, FSAppAttempt should do the work and call out to FairScheduler to get the details it needs.

        Attachments

        1. YARN-7414.001.patch
          3 kB
          Soumabrata Chakraborty
        2. YARN-7414.002.patch
          3 kB
          Soumabrata Chakraborty
        3. YARN-7414.003.patch
          3 kB
          Soumabrata Chakraborty

          Activity

            People

            • Assignee:
              soumabrata Soumabrata Chakraborty
              Reporter:
              templedf Daniel Templeton
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: