Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 038E6D54F for ; Fri, 7 Sep 2012 23:23:09 +0000 (UTC) Received: (qmail 95748 invoked by uid 500); 7 Sep 2012 23:23:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95694 invoked by uid 500); 7 Sep 2012 23:23:08 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 95685 invoked by uid 99); 7 Sep 2012 23:23:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 23:23:08 +0000 Date: Sat, 8 Sep 2012 10:23:08 +1100 (NCT) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <333331467.53143.1347060188773.JavaMail.jiratomcat@arcas> In-Reply-To: <988537335.46005.1346956747433.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6730) Enable rolling averages in StochasticLoadBalancer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451126#comment-13451126 ] Ted Yu commented on HBASE-6730: ------------------------------- {code} + private static final String KEEP_REGION_LOADS = "hbase.master.balancer.stochastic.numRegionLoadsToRemember"; {code} Line too long. The convention is that we don't need to capitalize letters in config key. {code} + //We're only going to keep 15. So if there are that many already take the last 14 {code} I think we should refer to numRegionLoadsToRemember instead of hardcoded values (15 and 14) {code} + for(RegionLoad rl:regionLoadList) { {code} nit: insert spaces in the above statement. > 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, HBASE-6730-2.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