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 "Yufei Gu (JIRA)" <ji...@apache.org> on 2017/10/10 20:33:00 UTC

[jira] [Created] (YARN-7315) Reconsider "Public" API in SchedulingPolicy of Fair Scheduler

Yufei Gu created YARN-7315:
------------------------------

             Summary: Reconsider "Public" API in SchedulingPolicy of Fair Scheduler 
                 Key: YARN-7315
                 URL: https://issues.apache.org/jira/browse/YARN-7315
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler
    Affects Versions: 3.1.0
            Reporter: Yufei Gu


The original intention should be to make {{SchedulingPolicy}} Public is to let users write their own policies. However, it shouldn't work for its all methods. For example, {{isChildPolicyAllowed}} and {{checkIfUsageOverFairShare}} shouldn't be Public API. We need to reconsider if we still want {{SchedulingPolicy}} to be a public API or make it private then create interface with less methods.



--
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