Rohith commented on YARN-3025:

Thanks [~yuzhih...@gmail.com] for workinig on this jira. I have quick commet on 
the patch
The api is introduced is at AMRMClient which used by ApplicationMaster to 
connect RM. But this does not retrieve blacklisted nodes from RM which was 
already updated on ApplicationMaster failover.  From previous discussions, I 
believe API is required for retrieving blacklistedNodes from RM. 
Am I missing anything?

> Provide API for retrieving blacklisted nodes
> --------------------------------------------
>                 Key: YARN-3025
>                 URL: https://issues.apache.org/jira/browse/YARN-3025
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: yarn-3025-v1.txt
> We have the following method which updates blacklist:
> {code}
>   public synchronized void updateBlacklist(List<String> blacklistAdditions,
>       List<String> blacklistRemovals) {
> {code}
> Upon AM failover, there should be an API which returns the blacklisted nodes 
> so that the new AM can make consistent decisions.
> The new API can be:
> {code}
>   public synchronized List<String> getBlacklistedNodes()
> {code}

This message was sent by Atlassian JIRA

Reply via email to