hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18911) Unify Admin and AsyncAdmin's methods name
Date Sat, 30 Sep 2017 13:38:00 GMT

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

Chia-Ping Tsai commented on HBASE-18911:
----------------------------------------

bq. getTableDescriptor is better than getDescriptor?
Yep. However, {{Admin#getTableDescriptor}} return the deprecated class {{HTableDescriptor}},
so we deprecate it and substitute {{Admin#getDescriptor}} for it. 

> Unify Admin and AsyncAdmin's methods name
> -----------------------------------------
>
>                 Key: HBASE-18911
>                 URL: https://issues.apache.org/jira/browse/HBASE-18911
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>             Fix For: 2.0.0-beta-1
>
>
> Different Methods
> || AsyncAdmin || Admin ||
> | listTables | listTableDescriptors |
> | getTableDescriptor | getDescriptor |
> | getRegionLoads | getRegionLoad |
> | getMaster | getMasterInfoPort |
> | setNormalizerOn | normalizerSwitch |
> | isNormalizerOn | isNormalizerEnabled |
> | setBalancerOn | balancerSwitch |
> | isBalancerOn | isBalancerEnabled |
> | setCleanerChoreOn | cleanerChoreSwitch |
> | isCleanerChoreOn | isCleanerChoreEnabled |
> | setSplitOn/setMergeOn | splitOrMergeEnabledSwitch |
> Methods only in AsyncAdmin
> || AsyncAdmin ||
> | isSplitOn |
> | isMergeOn |
> | majorCompactRegionServer |
> | stopRegionServer |



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

Mime
View raw message