hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-639) add HBaseAdmin.getTableDescriptor function
Date Thu, 22 May 2008 23:29:55 GMT

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

Bryan Duxbury commented on HBASE-639:

It sounds like what you really want is HTable.getMetadata(). There's an issue open to make
this method not suck in trunk: HBASE-632. Should we close this as dupe or wontfix?

> add HBaseAdmin.getTableDescriptor function
> ------------------------------------------
>                 Key: HBASE-639
>                 URL: https://issues.apache.org/jira/browse/HBASE-639
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Michael Bieniosek
>             Fix For: 0.2.0
> Currently, to get a HTableDescriptor for a particular table, I have to call listTables()
and then loop through the HTableDescriptor[].  It would be nice if the API just had a function
to give me a single HTableDescriptor, since I already know the name of the table I'm interested
in.  Alternately, listTables could return a map of String -> HTableDescriptor, keyed off
table name.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message