You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ming Ma (JIRA)" <ji...@apache.org> on 2011/06/01 01:42:47 UTC
[jira] [Updated] (HBASE-2556) Add convenience method to HBaseAdmin
to get a collection of HRegionInfo objects for each table
[ https://issues.apache.org/jira/browse/HBASE-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ming Ma updated HBASE-2556:
---------------------------
Attachment: HBASE-2556-trunk.patch
It includes the followings:
1. Add a new method getTableRegions in HBaseAdmin.
2. Add unit test for the new method in TestAdmin.java.
3. Update ThriftServer to use the new method to get regions for a given table.
4. Add unit test in TestThriftServer
It seems like master.jsp or table.jsp has changed since Jeff opened the issue. No update is made on the web serlet part.
> Add convenience method to HBaseAdmin to get a collection of HRegionInfo objects for each table
> ----------------------------------------------------------------------------------------------
>
> Key: HBASE-2556
> URL: https://issues.apache.org/jira/browse/HBASE-2556
> Project: HBase
> Issue Type: Improvement
> Reporter: Jeff Hammerbacher
> Labels: noob
> Attachments: HBASE-2556-trunk.patch
>
>
> When we try to list all of the regions associated with a table, (e.g. in webapps/master/master.jsp or thrift/ThriftServer.java#getTableRegions, we either have to make do with HServerInfo objects or use the HTable#getRegionsInfo method. It may be useful to add a method to the HBaseAdmin object instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira