hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5728) Methods Missing in HTableInterface
Date Tue, 14 Aug 2012 23:31:38 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434631#comment-13434631
] 

Jonathan Hsieh commented on HBASE-5728:
---------------------------------------

Hm.. why isn't  

{code}
public NavigableMap<HRegionInfo, ServerName> getRegionLocations() throws IOException
{code}

in HBaseAdmin or something like that instead of HTable?

HBaseAdmin seems to have these already which seem very related.
{code}
List<HRegionInfo>	getTableRegions(byte[] tableName) 
List<HRegionInfo>	getOnlineRegions(ServerName sn) 
{code}

Seems like this is for metadata instead of for getting or putting data like the others.

                
> 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
>            Assignee: Jimmy Xiang
>         Attachments: trunk-5728.patch, trunk-5728_v2.patch, trunk-5728_v3.patch
>
>
> 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

        

Mime
View raw message