hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-4080) Instance handed out from HTablePool is treated as HTable whereas it should be HTableInterface
Date Fri, 08 Jul 2011 16:51:16 GMT
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message