[
https://issues.apache.org/jira/browse/HBASE-20578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492612#comment-16492612
]
Zheng Hu commented on HBASE-20578:
----------------------------------
bq. To break cyclic dependency, can subclass of
HBaseInterClusterReplicationEndpoint be created in hbase-rsgroup module to
accommodate the method (fetchSlavesAddresses) where rs group information is
needed ?
Move the HBaseInterClusterReplicationEndpoint creation to hbase-rsgroup can
not solve the cyclic dependency ? the hbase-server module will still need to
depend on the hbase-rsgroup module. IMO, can just create a new subclass named
HBaseRSGroupReplicationEndpoint. If want to enable rsgroup replication
feature, just load the class in hbase-server module dynamically... just like
the RSGroupAdminEndpoint class, it's used by hbase-server but not explicitly
written in the code.
Thanks.
> Support region server group in target cluster
> ---------------------------------------------
>
> Key: HBASE-20578
> URL: https://issues.apache.org/jira/browse/HBASE-20578
> Project: HBase
> Issue Type: Improvement
> Components: Replication
> Reporter: Ted Yu
> Assignee: Albert Lee
> Priority: Major
> Attachments: HBASE-20578-001.patch
>
>
> When source tables belong to non-default region server group(s) and there are
> region server group counterpart in the target cluster, we should support
> replicating to target cluster using the region server group mapping.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)