You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Solomon Duskis (JIRA)" <ji...@apache.org> on 2014/10/02 16:40:34 UTC

[jira] [Commented] (HBASE-12029) Use Table and RegionLocator in HTable.getRegionLocations()

    [ https://issues.apache.org/jira/browse/HBASE-12029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156626#comment-14156626 ] 

Solomon Duskis commented on HBASE-12029:
----------------------------------------

One gotcha here is connection management.  Were Connections automatically closed in Map/Reduces using the pooled approach?  If so, how should the Connections be closed in the new approach of user managed Connections?  [~enis] or [~stack] 

> Use Table and RegionLocator in HTable.getRegionLocations() 
> -----------------------------------------------------------
>
>                 Key: HBASE-12029
>                 URL: https://issues.apache.org/jira/browse/HBASE-12029
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 0.99.1
>            Reporter: Solomon Duskis
>            Assignee: Solomon Duskis
>         Attachments: HBASE-12029.patch, HBASE-12029_v1.patch, HBASE-12029_v2.patch, HBASE-12029_v3.patch, HBASE-12029_v4.patch, HBASE-12029_v4.patch, HBASE-12029_v5.patch, HBASE-12029_v6.patch
>
>
> HTable.getRegionLocations() is an internal deprecated API.  There are plenty of internal uses of the method, and it would be ideal to use the Table and RegionLocator interfaces instead of the HTable method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)