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 BD8DC10DF2 for ; Fri, 20 Dec 2013 01:52:08 +0000 (UTC) Received: (qmail 73733 invoked by uid 500); 20 Dec 2013 01:52:07 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 73683 invoked by uid 500); 20 Dec 2013 01:52:07 -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 73397 invoked by uid 99); 20 Dec 2013 01:52:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 01:52:07 +0000 Date: Fri, 20 Dec 2013 01:52:07 +0000 (UTC) From: "rajeshbabu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-10208) Add split keys and region location related API in HTable to HTableInterface as well 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-10208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rajeshbabu resolved HBASE-10208. -------------------------------- Resolution: Fixed bq. High-level we want to hide notion of 'region' from clients. Does this change go against such an axiom? Yes Its looks like against to that. bq. Code requiring these special methods could check whether an HTI is an HTable and cast accordingly. That way we won't tie the interface to implementation details. Would that work for you rajeshbabu? That works for me. Sorry for the mess. Closing this issue as invalid. Thanks. > Add split keys and region location related API in HTable to HTableInterface as well > ----------------------------------------------------------------------------------- > > Key: HBASE-10208 > URL: https://issues.apache.org/jira/browse/HBASE-10208 > Project: HBase > Issue Type: Bug > Components: Client > Reporter: rajeshbabu > Assignee: rajeshbabu > Fix For: 0.99.0 > > > These are APIs related to split keys avaiable in HTable same can be to HTI > getStartKeys() > getEndKeys() > getStartEndKeys() > getSplitKeys() - New > and 3 more APIs related to find region location when we specify row also can be added to HTI > getRegionLocation(final String row) > getRegionLocation(final byte [] row) > getRegionLocation(final byte [] row, boolean reload) -- This message was sent by Atlassian JIRA (v6.1.4#6159)