You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tianyi Wang (JIRA)" <ji...@apache.org> on 2017/09/12 18:04:00 UTC

[jira] [Resolved] (IMPALA-4082) Replace getRegionsInRange() in fe/src/main/java/com/cloudera/impala/catalog/HBaseTable.java with call to hBase

     [ https://issues.apache.org/jira/browse/IMPALA-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tianyi Wang resolved IMPALA-4082.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.11.0

IMPALA-4082: Remove todo item in getRegionsInRange

HbaseTable.GetRegionsInRange is a function copied and modified from
HTable in Hbase 0.95.1 or ealier. The HTable function uses cached region
location and the modified version gets more up-to-date information.
There is a todo item for the removal of this modified function if
Hbase provides the same functionality itself. In Hbase 0.95.2, the
HTable function is renamed to getKeysAndRegionsInRange and in Hbase
0.99 it became a private function. Thus this todo item is no longer
needed and is removed by this patch.

Change-Id: I35f0a3cd9363b55b3cde237beaf3037a7967582a
Reviewed-on: http://gerrit.cloudera.org:8080/8018
Reviewed-by: Lars Volker <lv...@cloudera.com>
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins

> Replace getRegionsInRange() in fe/src/main/java/com/cloudera/impala/catalog/HBaseTable.java with call to hBase
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-4082
>                 URL: https://issues.apache.org/jira/browse/IMPALA-4082
>             Project: IMPALA
>          Issue Type: Task
>          Components: Frontend
>    Affects Versions: Impala 2.7.0
>            Reporter: Lars Volker
>            Assignee: Tianyi Wang
>              Labels: asf, ramp-up
>             Fix For: Impala 2.11.0
>
>
> Prior to DISTRO-477 / [HBASE-8504|https://issues.apache.org/jira/browse/HBASE-8504], Impala had to have an own implementation of getRegionsInRange(). Now that the upstream issues have been fixed for a while we should address the TODO in HBaseTable.java regarding DISTRO-477.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)