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 DE35210EC1 for ; Sat, 1 Mar 2014 08:56:29 +0000 (UTC) Received: (qmail 36579 invoked by uid 500); 1 Mar 2014 08:56:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 36439 invoked by uid 500); 1 Mar 2014 08:56:22 -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 36248 invoked by uid 99); 1 Mar 2014 08:56:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2014 08:56:21 +0000 Date: Sat, 1 Mar 2014 08:56:21 +0000 (UTC) From: "rajeshbabu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10576) Custom load balancer to co-locate the regions of two tables which are having same split keys 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-10576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rajeshbabu updated HBASE-10576: ------------------------------- Attachment: HBASE-10536_v2.patch [~yuzhihong@gmail.com] bq.We should move away from Writables, right ? Since ImmutableBytesWritable has equals and hashcode implementation for byte array using here as hashmap key, not used for any serialization. bq.What if mappedTable is the same as tableName ? it will not return same table name. added some validation before adding to tables to colocate to avoid this. Fixed findbugs and javadoc warnings. Added test case for merge as well. Thanks for review Ted. > Custom load balancer to co-locate the regions of two tables which are having same split keys > -------------------------------------------------------------------------------------------- > > Key: HBASE-10576 > URL: https://issues.apache.org/jira/browse/HBASE-10576 > Project: HBase > Issue Type: Sub-task > Components: Balancer > Reporter: rajeshbabu > Assignee: rajeshbabu > Attachments: HBASE-10536_v2.patch, HBASE-10576.patch > > > To support local indexing both user table and index table should have same split keys. This issue to provide custom balancer to colocate the regions of two tables which are having same split keys. > This helps in Phoenix as well. -- This message was sent by Atlassian JIRA (v6.1.5#6160)