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

Ted Yu edited comment on HBASE-20578 at 5/28/18 11:07 AM:
----------------------------------------------------------

In ReplicationSource#createReplicationEndpoint() :
{code}
    String replicationEndpointImpl = 
replicationPeer.getPeerConfig().getReplicationEndpointImpl();
...
        replicationEndpoint = Class.forName(replicationEndpointImpl)
            .asSubclass(ReplicationEndpoint.class)
{code}
{code}
  ReplicationPeerConfigBuilder setReplicationEndpointImpl(String 
replicationEndpointImpl);
{code}
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 ?

TestGroupReplication should be moved to hbase-rsgroup.

[~Apache9] [~openinx] [~zghaobac] have been working in this area. Can you 
comment please ?


was (Author: yuzhih...@gmail.com):
In ReplicationSource#createReplicationEndpoint() :
{code}
    String replicationEndpointImpl = 
replicationPeer.getPeerConfig().getReplicationEndpointImpl();
...
        replicationEndpoint = Class.forName(replicationEndpointImpl)
            .asSubclass(ReplicationEndpoint.class)
{code}
{code}
  ReplicationPeerConfigBuilder setReplicationEndpointImpl(String 
replicationEndpointImpl);
{code}
To break cyclic dependency, can subclass of HBaseReplicationEndpoint be created 
in hbase-rsgroup module to accommodate the method (fetchSlavesAddresses) where 
rs group information is needed ?

TestGroupReplication should be moved to hbase-rsgroup.

[~Apache9] [~openinx] [~zghaobac] have been working in this area. Can you 
comment please ?

> 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)

Reply via email to