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

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

GitHub user combineads opened a pull request:

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

    [TAJO-2072] The constructor of RegionSizeCalculator changes for HBase 1.0.0 
compatibility.

    I wish getRegionLocator() method to remove for HBase 1.0.0 compatibility. 
HTable already implements RegionLocator interface.
    
    Thank you.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/combineads/tajo TAJO-2072

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/957.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #957
    
----
commit 85bd0b0bc3275130e7c4a4a1ab37382eb7bd73bb
Author: Byunghwa Yun <[email protected]>
Date:   2016-02-02T03:17:59Z

    [TAJO-2072] The constructor of RegionSizeCalculator changes for HBase
    1.0.0 compatibility.

----


> 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