Carlo Curino commented on YARN-5324:

[~subru] thanks for the follow up. 

I think I have address all your asks with the exception of the suggestion 
around adding {{selectSubcluster}}. 
After implementing the other refactoring you suggested the 
{{getHomeSubcluster()}} implementations are 
down to 5-30 lines and an external method call I don't think will improve 
readabiliy by much. 

> Stateless router policies implementation
> ----------------------------------------
>                 Key: YARN-5324
>                 URL: https://issues.apache.org/jira/browse/YARN-5324
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>    Affects Versions: YARN-2915
>            Reporter: Carlo Curino
>            Assignee: Carlo Curino
>         Attachments: YARN-5324-YARN-2915.06.patch, 
> YARN-5324-YARN-2915.07.patch, YARN-5324-YARN-2915.08.patch, 
> YARN-5324-YARN-2915.09.patch, YARN-5324-YARN-2915.10.patch, 
> YARN-5324-YARN-2915.11.patch, YARN-5324-YARN-2915.12.patch, 
> YARN-5324-YARN-2915.13.patch, YARN-5324-YARN-2915.14.patch, 
> YARN-5324.01.patch, YARN-5324.02.patch, YARN-5324.03.patch, 
> YARN-5324.04.patch, YARN-5324.05.patch
> These are policies at the Router that do not require maintaing state across 
> choices (e.g., weighted random).

This message was sent by Atlassian JIRA

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