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

Carlo Curino commented on YARN-5324:
------------------------------------

This patch provides 3 simple implementation of {{RouterFederationPolicy}}:
 # A uniform random choice among active subclusters
 # A weighted random choice among active subclusters, where the weights in the 
policy determine likelihood of picking a cluster (and =0 means actively 
excluding a subcluster)
 # A ordered priority among active subclusters, where the weights in the policy 
determine the "cost" of picking a cluster. The policy always picks the 
subcluster with the lowest weight. 

> 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
>            Reporter: Carlo Curino
>            Assignee: Carlo Curino
>         Attachments: YARN-5324.01.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
(v6.3.4#6332)

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