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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.1.0, 3.0.1
    • fairscheduler
    • 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.003.patch
          3 kB
          Soumabrata Chakraborty
        2. YARN-7414.002.patch
          3 kB
          Soumabrata Chakraborty
        3. YARN-7414.001.patch
          3 kB
          Soumabrata Chakraborty

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: