[
https://issues.apache.org/jira/browse/HBASE-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426024#comment-13426024
]
Lars Hofhansl commented on HBASE-5728:
--------------------------------------
These:
{code}
public Map<HRegionInfo, HServerAddress> getRegionsInfo() throws IOException;
public HRegionLocation getRegionLocation(String row) throws IOException;
public HRegionLocation getRegionLocation(byte[] row) throws IOException;
public void prewarmRegionCache(Map<HRegionInfo, HServerAddress> regionMap);
public void clearRegionCache();
public long getWriteBufferSize();
public void setWriteBufferSize(long writeBufferSize) throws IOException,
public ArrayList<Put> getWriteBuffer();
{code}
Would leak implementation stuff into the interface.
I think HBASE-4054 specifically mentions, that {code}public Map<HRegionInfo,
HServerAddress> getRegionsInfo() throws IOException;{code} is needed. Hmm...
> Methods Missing in HTableInterface
> ----------------------------------
>
> Key: HBASE-5728
> URL: https://issues.apache.org/jira/browse/HBASE-5728
> Project: HBase
> Issue Type: Improvement
> Components: client
> Reporter: Bing Li
>
> Dear all,
> I found some methods existed in HTable were not in HTableInterface.
> setAutoFlush
> setWriteBufferSize
> ...
> In most cases, I manipulate HBase through HTableInterface from HTablePool. If
> I need to use the above methods, how to do that?
> I am considering writing my own table pool if no proper ways. Is it fine?
> Thanks so much!
> Best regards,
> Bing
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira