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 96837999F for ; Mon, 23 Jan 2012 17:17:05 +0000 (UTC) Received: (qmail 18352 invoked by uid 500); 23 Jan 2012 17:17:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 18052 invoked by uid 500); 23 Jan 2012 17:17:04 -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 18044 invoked by uid 99); 23 Jan 2012 17:17:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 17:17:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 17:17:02 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 754B015E009 for ; Mon, 23 Jan 2012 17:16:41 +0000 (UTC) Date: Mon, 23 Jan 2012 17:16:41 +0000 (UTC) From: "Zhihong Yu (Issue Comment Edited) (JIRA)" To: issues@hbase.apache.org Message-ID: <260921283.67351.1327339001481.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <42967396.56670.1326993946071.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (HBASE-5231) Backport HBASE-3373 (per-table load balancing) to 0.92 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190945#comment-13190945 ] Zhihong Yu edited comment on HBASE-5231 at 1/23/12 5:16 PM: ------------------------------------------------------------ I think we can do. regarding to log "Done. Calculated a load balance in" , we can move out "balanceCluster". move to below code ? {code} + for (Map> assignments : assignmentsByTable.values()) { + List partialPlans = this.balancer.balanceCluster(assignments); + if (partialPlans != null) plans.addAll(partialPlans); } {code} was (Author: sunnygao): I think we can do. regarding to log "Done. Calculated a load balance in" , we can move out "balanceCluster". move to below code ? + for (Map> assignments : assignmentsByTable.values()) { + List partialPlans = this.balancer.balanceCluster(assignments); + if (partialPlans != null) plans.addAll(partialPlans); } > Backport HBASE-3373 (per-table load balancing) to 0.92 > ------------------------------------------------------ > > Key: HBASE-5231 > URL: https://issues.apache.org/jira/browse/HBASE-5231 > Project: HBase > Issue Type: Improvement > Reporter: Zhihong Yu > Fix For: 0.92.1 > > Attachments: 5231.txt > > > This JIRA backports per-table load balancing to 0.90 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira