[ 
https://issues.apache.org/jira/browse/HBASE-18272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064466#comment-16064466
 ] 

Ted Yu commented on HBASE-18272:
--------------------------------

Please attach patch wrapping the long lines below (100 characters per line):
{code}
+          if(result.containsKey(LoadBalancer.BOGUS_SERVER_NAME) && 
assignments.containsKey(LoadBalancer.BOGUS_SERVER_NAME)){
+            
assignments.get(LoadBalancer.BOGUS_SERVER_NAME).addAll(result.get(LoadBalancer.BOGUS_SERVER_NAME));
{code}

> fix some issues about RSGroupBasedLoadBalancer.roundRobinAssignment
> -------------------------------------------------------------------
>
>                 Key: HBASE-18272
>                 URL: https://issues.apache.org/jira/browse/HBASE-18272
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Balancer
>            Reporter: chenxu
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18272-master-v1.patch
>
>
> if two groups both include BOGUS_SERVER_NAME, assignments.putAll will 
> overwrite the previous data



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to