You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/12 18:52:00 UTC
[jira] [Closed] (HBASE-4080) Instance handed out from HTablePool is treated as HTable whereas it should be HTableInterface
[ https://issues.apache.org/jira/browse/HBASE-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-4080.
--------------------------------------
> Instance handed out from HTablePool is treated as HTable whereas it should be HTableInterface
> ---------------------------------------------------------------------------------------------
>
> Key: HBASE-4080
> URL: https://issues.apache.org/jira/browse/HBASE-4080
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Major
>
> RESTServlet uses HTablePool. The problem here is that the factory returns an HTableInterface when we ask
> it to create an HTable instance, but at same time, we are just assuming the HTableInterface
> is an HTable. Stack suggested adding the two
> methods (getRegionsInfo and setAutoFlush) we need to HTableInterface.
> setAutoFlush was requested to be added to HTableInterface before.
> getRegionsInfo is deprecated. So we should add getRegionLocations to HTableInterface.
> We should also consider the new methods Doug is adding in HBASE-4079
--
This message was sent by Atlassian Jira
(v8.20.7#820007)