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

Ted Yu commented on HBASE-6730:
-------------------------------

{code}
+          if (rLoads.size() >= numRegionLoadsToRemember) {
+            rLoads = rLoads.subList(1, numRegionLoadsToRemember);
+          }
{code}
If rLoads.size() > numRegionLoadsToRemember+1, we trim some element(s) off the 
tail of the list. Is that desirable ?
                
> Enable rolling averages in  StochasticLoadBalancer
> --------------------------------------------------
>
>                 Key: HBASE-6730
>                 URL: https://issues.apache.org/jira/browse/HBASE-6730
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>             Fix For: 0.96.0
>
>         Attachments: HBASE-6730-1.patch
>
>
> Now that all of the ServerLoad transitions into pb are done.  the load 
> balancer should get more updates about the current state of the cluster.  
> This should be used to allow StochasticLoadBalancer to get rolling averages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to