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

Heng Chen commented on HBASE-14203:
-----------------------------------

{quote}
An Admin can be created in Connection impl, and maintained in the Connection 
lifecycle, and this Admin can be passed to HTable on creation.
{quote}

Can i create {{HbaseAdmin}} instance in {{ConnectionImplementation}} 
constructor,  and return this instance when call {{Connection.getAdmin()}}

> remove duplicate code getTableDescriptor in HTable
> --------------------------------------------------
>
>                 Key: HBASE-14203
>                 URL: https://issues.apache.org/jira/browse/HBASE-14203
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Heng Chen
>            Priority: Trivial
>         Attachments: HBASE-14203.patch, HBASE-14203_v2.patch, 
> HBASE-14203_v3.patch
>
>
> As TODO in comment said, 
> {{HTable.getTableDescriptor}} is same as {{HAdmin.getTableDescriptor}}. 
> remove the duplicate code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to