[ 
https://issues.apache.org/jira/browse/YARN-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664875#comment-16664875
 ] 

Bibin A Chundatt edited comment on YARN-8016 at 10/26/18 8:30 AM:
------------------------------------------------------------------

[~leftnoteasy]

{code}
  public abstract boolean initialize(
      CapacitySchedulerContext schedulerContext) throws IOException;
{code}

I think its better to change to rmcontext/scheduler so that other schedulers 
will be able to use. thoughts??



was (Author: bibinchundatt):
[~leftnoteasy]

{code}
  public abstract boolean initialize(
      CapacitySchedulerContext schedulerContext) throws IOException;
{code}

I think its better to change to rmcontext so that other schedulers will be able 
to use. thoughts??


> Refine PlacementRule interface and add a app-name queue mapping rule as an 
> example
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-8016
>                 URL: https://issues.apache.org/jira/browse/YARN-8016
>             Project: Hadoop YARN
>          Issue Type: Task
>            Reporter: Zian Chen
>            Assignee: Zian Chen
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: YARN-8016.001.patch, YARN-8016.002.patch, 
> YARN-8016.003.patch, YARN-8016.004.patch, YARN-8016.005.patch
>
>
> After YARN-3635/YARN-6689, PlacementRule becomes a common interface which can 
> be used by scheduler and can be dynamically updated by scheduler according to 
> configs. There're some other works. 
> - There's no way to initialize PlacementRule.
> - No example of PlacementRule except the user-group mapping one.
> This JIRA is targeted to refine PlacementRule interfaces and add another 
> PlacementRule example.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to