You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2019/01/08 08:23:00 UTC

[jira] [Comment Edited] (HBASE-21694) Add append_peer_exclude_tableCFs and remove_peer_exclude_tableCFs shell commands

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

Guanghao Zhang edited comment on HBASE-21694 at 1/8/19 8:22 AM:
----------------------------------------------------------------

Avoid to add method to Admin and AsyncAdmin and call ReplicationPeerConfigUtil method from shell directly? The reason of appendTableCFs and removeTableCFs is to keep compatible with the old ReplicationAdmin. But for the new methods, we should use updateReplicationPeerConfig to update.


was (Author: zghaobac):
Avoid to add interface to Admin and AsyncAdmin and call ReplicationPeerConfigUtil method from shell directly?

> Add append_peer_exclude_tableCFs and remove_peer_exclude_tableCFs shell commands
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-21694
>                 URL: https://issues.apache.org/jira/browse/HBASE-21694
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Yi Mei
>            Assignee: Yi Mei
>            Priority: Major
>         Attachments: HBASE-21694.master.001.patch
>
>
> To add or remove table-cfs to peers' exclude-table-cfs list, the current way is use set_peer_exclude_tableCFs. But one has to copy all exclude-table-cfs of the peer firstly and modify it, which is error-prone and time-consuming.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)