You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2017/12/12 03:19:03 UTC

[jira] [Created] (HBASE-19492) Add EXCLUDE_NAMESPACE and EXCLUDE_TABLECFS support to replication peer config

Guanghao Zhang created HBASE-19492:
--------------------------------------

             Summary: Add EXCLUDE_NAMESPACE and EXCLUDE_TABLECFS support to replication peer config
                 Key: HBASE-19492
                 URL: https://issues.apache.org/jira/browse/HBASE-19492
             Project: HBase
          Issue Type: Improvement
            Reporter: Guanghao Zhang
            Assignee: Guanghao Zhang


This is a follow-up issue after HBASE-16868. Copied the comments in HBASE-16868.

This replicate_all flag is useful to avoid misuse of replication peer config. And on our cluster we have more config: EXCLUDE_NAMESPACE and EXCLUDE_TABLECFS for replication peer. Let me tell more about our use case. We have two online serve cluster and one offline cluster for MR/Spark job. For online cluster, all tables will replicate to each other. And not all tables will replicate to offline cluster, because not all tables need OLAP job. We have hundreds of tables and if only one table don't need replicate to offline cluster, then you will config a lot of tables in replication peer config. So we add a new config option is EXCLUDE_TABLECFS. Then you only need config one table (which don't need replicate) in EXCLUDE_TABLECFS.

Then when the replicate_all flag is false, you can config NAMESPACE or TABLECFS means which namespace/tables need replicate to peer cluster. When replicate_all flag is true, you can config EXCLUDE_NAMESPACE or EXCLUDE_TABLECFS means which namespace/tables can't replicate to peer cluster.



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