You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/02 04:06:40 UTC

[jira] [Commented] (TAJO-2072) The constructor of RegionSizeCalculator changes for HBase 1.0.0 compatibility

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

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

GitHub user combineads opened a pull request:

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

    [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/956.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 #956
    
----
commit c4de36cc60bb3387de465fcc0c4b5e00198057ba
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-17T07:36:05Z

    TAJO-1763: tpch/*.tbl files cannot be founded in maven modules except for core-tests.
    
    Closes #691

commit 7c765e8d1fe4c8043e114922007f7ba71aeb6fbd
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-17T09:36:59Z

    Add missed change log and reindent some logs.

commit 9aefc9f01237fd1e7540a0e91086b0f460bd5057
Author: Jinho Kim <jh...@apache.org>
Date:   2015-08-17T10:11:10Z

    TAJO-1779: Remove "DFSInputStream has been closed already" messages in DelimitedLineReader

commit 3e9b9f61a65dafe83d6ef2223b1462eb8bf94867
Author: Jinho Kim <jh...@apache.org>
Date:   2015-08-18T07:55:18Z

    TAJO-1777: JsonLineDeserializer returns invalid unicode text, if contains control character.
    
    Closes #696

commit 38ac39e2e4dc704ee867a14062162306bee2c7b0
Author: Jihoon Son <ji...@apache.org>
Date:   2015-08-18T10:28:29Z

    TAJO-1755: Add documentation for missing built-in functions.

commit e31256249afc674281c0dfa7bdbb8571e040b46d
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-19T04:03:01Z

    TAJO-1757: Add examples for TajoClient v2.
    
    Closes #689

commit cb23c10b6474dd5f2f191b6562431b55c2ff4982
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-19T05:09:11Z

    TAJO-1745: Add positive and negative test methods.
    
    Closes #681

commit 303b692f8b1bfc068cad8ee1b25870a79809c35a
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-19T14:11:29Z

    TAJO-1758: Some TajoRuntimeException should be restored as TajoException in client side.
    
    Closes #700

commit d4b24248cd7aa3b65ac9e622d04303aab62efb62
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-08-19T14:26:32Z

    TAJO-1775: HCatalogStore need to be deprecated.

commit 6301a98771b0e8ed5fec42f77f80b68c5ba1d88e
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-19T14:51:28Z

    Fix the version in tajo-client-example's pom.xml.

commit 38fa78a04da8ee3773cd3e40f7e6ae10da486b2c
Author: Jihoon Son <ji...@apache.org>
Date:   2015-08-19T14:58:16Z

    TAJO-1781: Join condition is still not found when it exists in OR clause.

commit 6ed7c6bcba6b400d61c1a16904cc17b25f74e004
Author: Jinho Kim <jh...@apache.org>
Date:   2015-08-20T01:59:44Z

    TAJO-1776: Fix Invalid column type in JDBC.

commit b262291df7a52f27c1ec6a22f5681b401b45020b
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-20T05:55:48Z

    TAJO-1790: TestTajoClientV2::testExecuteQueryAsyncWithListener occasionally is failed.
    
    Closes #703

commit 5ef0edb0d38117d78754aa3d1af1f0fc85e9cee9
Author: Jongyoung Park <em...@gmail.com>
Date:   2015-08-20T06:09:19Z

    TAJO-1741: Two tables having same time zone display different timestamps.
    
    Closes #699
    
    Signed-off-by: Hyunsik Choi <hy...@apache.org>

commit b2a972220909a522003513a254de4b72596d966e
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-20T13:34:35Z

    TAJO-1792: tajo-cluster-tests is not available when it is used as an external maven module.
    
    Closes #704

commit 3113d4f4d6d6cbc8a9fa7d0c91b77387960767bb
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-20T14:15:52Z

    TAJO-1787: Remove unused and legacy exceptions.
    
    Closes #702

commit 36cf3e338ef0edbccd13cbff3d22b25eb67ebe7a
Author: Hyunsik Choi <hy...@apache.org>
Date:   2015-08-20T14:25:54Z

    TAJO-1737: Implement SQL Parser rule for Map type.
    
    Closes #675

commit 6a4265acb3b8a806e09e86a5bb21c3e496717a3b
Author: Jinho Kim <jh...@apache.org>
Date:   2015-08-21T03:38:16Z

    TAJO-1596: TestPythonFunctions occasionally fails.

commit 37d94a2457c9db8eaf4ac492773195493d664e3a
Author: Jinho Kim <jh...@apache.org>
Date:   2015-08-21T15:37:47Z

    TAJO-1783: Query result is not returned by invalid output path.

commit 03d2dd2d83b9796ceed931d3ca9d11d086ce7877
Author: Jinho Kim <jh...@apache.org>
Date:   2015-08-24T03:54:17Z

    TAJO-1799: Fix incorrect event handler when kill-query failed.

commit 13f42cf40d7e732c8bab0e5a135615f55b98cb94
Author: Jihoon Son <ji...@apache.org>
Date:   2015-08-25T09:22:59Z

    TAJO-1766: Improve the performance of cross join.

commit 8b318f6ea8b61e2e143341a7d07974bc675a6c7c
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-08-26T08:59:20Z

    TAJO-1798: Dynamic partitioning occasionally fails.

commit 1aea89c7fdc799912f7fdd98837e983736036e9b
Author: Jihoon Son <ji...@apache.org>
Date:   2015-08-27T16:39:02Z

    TAJO-1801: Table name is not unique of tableDescMap in QueryMasterTask.

commit ad83927fa093bb78d83d070fb847c2bca1ceb9f3
Author: Jihoon Son <ji...@apache.org>
Date:   2015-09-01T09:57:41Z

    TAJO-1803: Use in-memory derby as the default catalog for unit tests.

commit b4c2c98903433a6f6b8298372c1dca6863e2c3d3
Author: Jihoon Son <ji...@apache.org>
Date:   2015-09-02T04:23:03Z

    TAJO-1808: Wrong table type problem in catalog.

commit d12f7251b752a7bc7ac97d93303b7bd8d2e4c94c
Author: Jinho Kim <jh...@apache.org>
Date:   2015-09-02T08:05:54Z

    TAJO-1707: Rack local count can be more than actual number of tasks.

commit d214d50c68b895fa0cba4e750ab942f3245b36a9
Author: Jihoon Son <ji...@apache.org>
Date:   2015-09-02T09:27:49Z

    TAJO-1802: PythonScriptEngine copies controller and tajo util whenever it is initialized.

commit 458345f6eee3dff29e1370e81c8abd409de34039
Author: Jinho Kim <jh...@apache.org>
Date:   2015-09-03T01:14:26Z

    TAJO-993: Cleanup the result data in HDFS after query finished.

commit ade06657807b26733e320ce515898b809f611700
Author: Jinho Kim <jh...@apache.org>
Date:   2015-09-03T12:33:27Z

    TAJO-1810: Remove QueryMasterTask cache immediately, if it stored to persistent storage.

commit 34062ea8580fec0dda4e0db2e6f16d46443426ac
Author: Jinho Kim <jh...@apache.org>
Date:   2015-09-03T12:47:39Z

    TAJO-1738: Improve off-heap RowBlock.

----


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