[jira] [Updated] (YARN-3025) Provide API for retrieving blacklisted nodes

2015-02-16 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated YARN-3025:
-
Attachment: yarn-3025-v3.txt

work in progress: need to add the PBImpl classes.

> 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, yarn-3025-v2.txt, yarn-3025-v3.txt
>
>
> We have the following method which updates blacklist:
> {code}
>   public synchronized void updateBlacklist(List blacklistAdditions,
>   List 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 getBlacklistedNodes()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3025) Provide API for retrieving blacklisted nodes

2015-02-15 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated YARN-3025:
-
Attachment: yarn-3025-v2.txt

Patch v2 does what was proposed above.

Next step is to add getter for black listed nodes in ApplicationMasterProtocol

> 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, yarn-3025-v2.txt
>
>
> We have the following method which updates blacklist:
> {code}
>   public synchronized void updateBlacklist(List blacklistAdditions,
>   List 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 getBlacklistedNodes()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3025) Provide API for retrieving blacklisted nodes

2015-02-12 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated YARN-3025:
-
Attachment: yarn-3025-v1.txt

> 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 blacklistAdditions,
>   List 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 getBlacklistedNodes()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)