hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7315) Reconsider "Public" API in SchedulingPolicy of Fair Scheduler
Date Tue, 10 Oct 2017 20:34:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yufei Gu updated YARN-7315:
---------------------------
    Description: 
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.
An incompatible change is made in YARN-5077, which removed the method {{SchedulingPolicy#checkIfAMResourceUsageOverLimit}}

  was: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.


> 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.
> An incompatible change is made in YARN-5077, which removed the method {{SchedulingPolicy#checkIfAMResourceUsageOverLimit}}



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


Mime
View raw message