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

ASF GitHub Bot commented on TAJO-2072:
--------------------------------------

Github user combineads closed the pull request at:

    https://github.com/apache/tajo/pull/956


> The constructor of RegionSizeCalculator changes for HBase 1.0.0 compatibility
> -----------------------------------------------------------------------------
>
>                 Key: TAJO-2072
>                 URL: https://issues.apache.org/jira/browse/TAJO-2072
>             Project: Tajo
>          Issue Type: Bug
>          Components: HBase Storage
>    Affects Versions: 0.11.1
>            Reporter: Byunghwa Yun
>            Assignee: Byunghwa Yun
>             Fix For: 0.12.0, 0.11.1
>
>
> Now, the hbase storage code is below. Tajo uses the getRegionLocator() method 
> of HTable, HBase 1.1.0 version.
> I wish getRegionLocator() method to remove for HBase 1.0.0 compatibility. 
> HTable already implements RegionLocator interface.
> Thank you.
>   public RegionSizeCalculator(HTable table) throws IOException {
>     HBaseAdmin admin = new HBaseAdmin(table.getConfiguration());
>     try {
>       init(table.getRegionLocator(), admin);
>     } finally {
>       admin.close();
>     }
>   }
> to
>   public RegionSizeCalculator(HTable table) throws IOException {
>     HBaseAdmin admin = new HBaseAdmin(table.getConfiguration());
>     try {
>       init(table, admin);
>     } finally {
>       admin.close();
>     }
>   }



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

Reply via email to