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

Jeff Whiting commented on HBASE-2822:
-------------------------------------

Sorry, I don't quite understand what you are saying JD.  So can you do 
Master-Master replication? It would seem that HBASE-2195 would prevent you from 
doing master-master replication as it would perpetuate the changes forever 
(because it wont stop replication when it goes back to the original cluster).  
I might be missing something though...  

> Enable Master-Master replication
> --------------------------------
>
>                 Key: HBASE-2822
>                 URL: https://issues.apache.org/jira/browse/HBASE-2822
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.92.0
>
>
> There's nothing inherently wrong in the replication design that prevents 
> master-master, but it was disabled in the code in order to reduce the scope 
> of HBASE-2223. Specifically, this code from Replication just needs a simple 2 
> lines modification to always instantiate ReplicationSink if this.replication 
> is true:
> {code}
>   public void startReplicationServices() throws IOException {
>     if (this.replication) {
>       if (this.replicationMaster) {
>         this.replicationManager.init();
>       } else {
>         this.replicationSink =
>             new ReplicationSink(this.conf, this.stopRequested);
>       }
>     }
>   }
> {code}
> Enable and test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to