[
https://issues.apache.org/jira/browse/TAJO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133704#comment-15133704
]
Hudson commented on TAJO-2072:
------------------------------
FAILURE: Integrated in Tajo-master-CODEGEN-build #676 (See
[https://builds.apache.org/job/Tajo-master-CODEGEN-build/676/])
TAJO-2072: The constructor of RegionSizeCalculator changes for HBase (jhkim:
rev ea1818ab93873e652aad6059b21585fdd4b0054d)
* CHANGES
*
tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/RegionSizeCalculator.java
> 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)