[
https://issues.apache.org/jira/browse/HBASE-12254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278797#comment-14278797
]
Kevin Risden commented on HBASE-12254:
--------------------------------------
I was trying out the pluggable replication endpoint feature and found the
following:
* you must use the ReplicationAdmin to add the new ReplicationEndpoint
* hbase shell add_peer command doesn't support specifying a custom class
* hbase shell add_peer relies on the newly deprecated ReplicationAdmin addPeer
methods
* ReplicationAdmin addPeer tableCfs is now a Map<TableName, ? extends
Collection<String>> instead of a string
An example of the code and notes are here:
https://github.com/risdenk/hbase-custom-replication-endpoint-example
> Document limitations related to pluggable replication endpoint feature usage
> in 0.98
> ------------------------------------------------------------------------------------
>
> Key: HBASE-12254
> URL: https://issues.apache.org/jira/browse/HBASE-12254
> Project: HBase
> Issue Type: Sub-task
> Components: documentation
> Affects Versions: 0.98.7
> Reporter: ramkrishna.s.vasudevan
> Fix For: 2.0.0
>
> Attachments: HBASE-12254.patch
>
>
> The pluggable Replication endpoint in 0.98 will need to be documented as how
> exactly it can be used because of limitations that we may have due to mixed
> version compatability where the peers may be in an older version of 0.98
> where pluggable replication endpoint is not there.
> Also this feature adds some more data to the znodes like the name of the
> Endpoint impl, data and the Replication config. A peer cluster with the
> older version will not be able to read this data particularly when there is a
> custom replication configured. This JIRA aims at documenting such cases for
> the ease of user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)