You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2016/01/20 00:44:39 UTC
[jira] [Updated] (HBASE-14676) HBaseTestCase clean out: Purge
Incommon Interface and Table and Region implementations
[ https://issues.apache.org/jira/browse/HBASE-14676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-14676:
--------------------------
Attachment: connection_for_region_as_table.patch
Parking patch here. Was trying to make a Connection that would give back RegionAsTable... Got stuck on how to bring up Region. Need too many parameters. In particular I want the WAL to work but bunch of setup involved... could add it all as config... TODO (I wanted this to do perf testing against Region via YCSB).
> HBaseTestCase clean out: Purge Incommon Interface and Table and Region implementations
> --------------------------------------------------------------------------------------
>
> Key: HBASE-14676
> URL: https://issues.apache.org/jira/browse/HBASE-14676
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: stack
> Fix For: 2.0.0
>
> Attachments: 14676.patch, 14676v2.txt, 14676v3.txt, 14676v4.txt, 14676v4.txt, RegionAdmin.java, connection_for_region_as_table.patch
>
>
> As part of the hollowing out of the old HBaseTestCase in preparation for removal, this patch purges the old Incommon trick that made it so you could pass an Interface to a method to do loading or testing and the implementation could be an HTable or a Region. Instead, replace it with a RegionTable, a Regoin that has the Table Interface as a decoration so you can use same loading code and same test both on top of the Region or on other side of network via HTable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)