You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/10/28 16:13:00 UTC

[jira] [Created] (YARN-7414) FairScheduler#getAppWeight() should be moved into FSAppAttempt#getWeight()

Daniel Templeton created YARN-7414:
--------------------------------------

             Summary: FairScheduler#getAppWeight() should be moved into FSAppAttempt#getWeight()
                 Key: YARN-7414
                 URL: https://issues.apache.org/jira/browse/YARN-7414
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: fairscheduler
    Affects Versions: 3.0.0-beta1
            Reporter: Daniel Templeton
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org