You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Xiang Li (JIRA)" <ji...@apache.org> on 2018/02/02 00:38:00 UTC
[jira] [Resolved] (YARN-7874) Improve RSGroupBasedLoadBalancer#
[ 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org