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

Solomon Duskis updated HBASE-12029:
-----------------------------------
    Attachment: HBASE-12029_v4.patch

A lot of tests use unmanaged connections.  That caused a problem for 
connection.getTable() in MetaScanner.java.  Those tests need to be converted to 
use a managed connection.  I reverted the change from new HTable() to 
connection.getTable().  I'll make that a separate issue.

> 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
>
>
> 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)

Reply via email to