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:36:00 GMT

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

Yufei Gu updated YARN-7315:
    Issue Type: Task  (was: Bug)

> 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: Task
>          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}}.
It may be OK since {{checkIfAMResourceUsageOverLimit}} shouldn't work anyway for subclasses
of {{SchedulingPolicy}}.

This message was sent by Atlassian JIRA

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

View raw message