[
https://issues.apache.org/jira/browse/HBASE-15507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230905#comment-15230905
]
Ted Yu commented on HBASE-15507:
--------------------------------
Please fix compilation error in latest patch :
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
project hbase-client: Compilation failure: Compilation failure:
[ERROR]
/Users/tyu/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeer.java:[74,31]
cannot find symbol
[ERROR] symbol: class ReplicationPeerConfigListener
[ERROR] location: interface org.apache.hadoop.hbase.replication.ReplicationPeer
[ERROR]
/Users/tyu/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerZKImpl.java:[167,38]
cannot find symbol
[ERROR] symbol: class ReplicationPeerConfigListener
[ERROR] location: class
org.apache.hadoop.hbase.replication.ReplicationPeerZKImpl
[ERROR]
/Users/tyu/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerZKImpl.java:[271,5]
cannot find symbol
[ERROR] symbol: class ReplicationPeerConfigListener
[ERROR] location: class
org.apache.hadoop.hbase.replication.ReplicationPeerZKImpl.PeerConfigTracker
[ERROR]
/Users/tyu/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerZKImpl.java:[278,29]
cannot find symbol
[ERROR] symbol: class ReplicationPeerConfigListener
[ERROR] location: class
org.apache.hadoop.hbase.replication.ReplicationPeerZKImpl.PeerConfigTracker
{code}
> Online modification of enabled ReplicationPeerConfig
> ----------------------------------------------------
>
> Key: HBASE-15507
> URL: https://issues.apache.org/jira/browse/HBASE-15507
> Project: HBase
> Issue Type: Improvement
> Components: Replication
> Affects Versions: 2.0.0, 1.2.0, 1.3.0
> Reporter: Geoffrey Jacoby
> Assignee: Geoffrey Jacoby
> Labels: Replication, shell
> Fix For: 2.0.0
>
> Attachments: HBASE-15507-v1.patch, HBASE-15507.patch
>
>
> It's currently possible to update the table CFs for a replication peer while
> it's running, but not the peer configuration or data maps introduced as part
> of custom replication endpoints in HBASE-11367.
> This means that if you have a custom endpoint that depends on some
> configuration parameter, you have to remove the peer and recreate it in order
> to change the param. In some use cases that's not possible without risking
> data loss.
> HBASE-11393, which will consolidate tableCFs in the same znode as the rest of
> ReplicationPeerConfig, may help here, but with or without it it still seems
> like there needs to be further work to add update config/data API support to
> ReplicationAdmin and a callback mechanism to notify the endpoints of config
> parameter changes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)