hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-7874) Improve RSGroupBasedLoadBalancer#
Date Fri, 02 Feb 2018 00:38:00 GMT

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

Xiang Li resolved YARN-7874.
----------------------------
    Resolution: Invalid

Sorry, this one is supposed to open to HBase...

> Improve RSGroupBasedLoadBalancer#
> ---------------------------------
>
>                 Key: YARN-7874
>                 URL: https://issues.apache.org/jira/browse/YARN-7874
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Xiang Li
>            Priority: Critical
>
>   private List<ServerName> filterServers(Collection<Address> servers,
>       Collection<ServerName> onlineServers) {
>     ArrayList<ServerName> finalList = new ArrayList<ServerName>();
>     for (Address server : servers) {
>       for(ServerName curr: onlineServers) {
>         if(curr.getAddress().equals(server)) {
>           finalList.add(curr);
>         }
>       }
>     }
>     return finalList;
>   }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message