hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-4080) Instance handed out from HTablePool is treated as HTable whereas it should be HTableInterface
Date Tue, 28 Aug 2012 21:17:07 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Hofhansl resolved HBASE-4080.
----------------------------------

    Resolution: Duplicate

Dup of HBASE-5728... It think
                
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message