hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11992) Backport HBASE-11367 (Pluggable replication endpoint) to 0.98
Date Sat, 22 Nov 2014 16:48:34 GMT

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

Andrew Purtell commented on HBASE-11992:
----------------------------------------

The latest patch contains two changes, this:
{code}
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/Repl
index 537fd60..33eaba3 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/Replication
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/Replication
@@ -321,7 +321,6 @@ public class ReplicationPeerZKImpl implements ReplicationPee
     public synchronized void nodeDataChanged(String path) {
       if (path.equals(node)) {
         super.nodeDataChanged(path);
-        readTableCFsZnode();
       }
     }
   }
{code}

and a change to the imports of ZooKeeperScanPolicyObserver in hbase-examples, changing wildcards
to class-by-class imports, etc. I'm going to drop that hunk. Attaching updated patch.

The other change in HBASE-12136, to ReplicationPeersZKImpl, was previously incorporated.

> Backport HBASE-11367 (Pluggable replication endpoint) to 0.98
> -------------------------------------------------------------
>
>                 Key: HBASE-11992
>                 URL: https://issues.apache.org/jira/browse/HBASE-11992
>             Project: HBase
>          Issue Type: Task
>            Reporter: Andrew Purtell
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.98.9
>
>         Attachments: HBASE-11992_0.98_1.patch, HBASE-11992_0.98_2.patch, HBASE-11992_0.98_3.patch,
hbase-11367_0.98.patch
>
>
> ReplicationSource tails the logs for each peer. HBASE-11367 introduces ReplicationEndpoint
which is customizable per peer. ReplicationEndpoint is run in the same RS process and instantiated
per replication peer per region server. Implementations of this interface handle the actual
shipping of WAL edits to the remote cluster.
> This issue is for backporting HBASE-11367 to 0.98.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message