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

Michael Bieniosek commented on HBASE-639:
-----------------------------------------

Bryan, I wouldn't mind using HTable.getMetadata(), but I wouldn't have known to 
look there if not for this issue.  From a new-user perspective, it seems 
reasonable to expect that functions like HBaseAdmin.listTables() and 
HTable.getMetadata() would live in the same class.

> 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.

Reply via email to