Jian He commented on YARN-2005:

ah,  I forgot schedulerApplication isn't aware whether the application is 
failed or not. I think passing the blacklist info through the event is a good 
option to avoid the updateBlacklist api in the scheduler. 
Also, looks like the current patch will add the node into blacklist regardless 
whether the am is FAILED/KILLED/FINISHED. Ideally, we should add that only if 
the AM is failed ? Further, we may not blacklist the node if AM failed for 
reasons like preemption.

> Blacklisting support for scheduling AMs
> ---------------------------------------
>                 Key: YARN-2005
>                 URL: https://issues.apache.org/jira/browse/YARN-2005
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 0.23.10, 2.4.0
>            Reporter: Jason Lowe
>            Assignee: Anubhav Dhoot
>         Attachments: YARN-2005.001.patch, YARN-2005.002.patch, 
> YARN-2005.003.patch, YARN-2005.004.patch, YARN-2005.005.patch, 
> YARN-2005.006.patch, YARN-2005.006.patch
> It would be nice if the RM supported blacklisting a node for an AM launch 
> after the same node fails a configurable number of AM attempts.  This would 
> be similar to the blacklisting support for scheduling task attempts in the 
> MapReduce AM but for scheduling AM attempts on the RM side.

This message was sent by Atlassian JIRA

Reply via email to