[
https://issues.apache.org/jira/browse/HBASE-18911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187015#comment-16187015
]
Chia-Ping Tsai commented on HBASE-18911:
----------------------------------------
{{Admin#listTables}} and {{Admin#getTableDescriptor}} are in deprecated cycle,
hence we must have the alternative names for both of methods.
{{Admin#getMasterInfoPort}} returns only the port, so I think the method name
is suitable. Perhaps we can add {{getMaster}} to Admin? BTW, should we add the
methods which only exist in {{AsyncAdmin}} to {{Admin}}?
> 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)