hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Biju Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18241) Change client.Table and client.Admin to not use HTableDescriptor
Date Tue, 20 Jun 2017 14:34:02 GMT

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

Biju Nair commented on HBASE-18241:
-----------------------------------

Since {{HTableDescriptor}} is declared {{deprecated}} in 2.0 and planned to be removed in
3.0, would be good to fix these methods to use {{TableDescriptor}} in 2.0 as well.

> Change client.Table and client.Admin to not use HTableDescriptor
> ----------------------------------------------------------------
>
>                 Key: HBASE-18241
>                 URL: https://issues.apache.org/jira/browse/HBASE-18241
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Biju Nair
>            Priority: Minor
>
> {{HTableDescriptor}} is deprecated and scheduled to be removed in 3.0. But [client.Table|https://github.com/apache/hbase/blob/a66d491892514fd4a188d6ca87d6260d8ae46184/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java#L69]
and [client.Admin|https://github.com/apache/hbase/blob/a66d491892514fd4a188d6ca87d6260d8ae46184/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java#L198]
method {{getTableDescriptor}} returns {{HTableDescriptor}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message