hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Risden (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12867) Shell does not support custom replication endpoint specification
Date Tue, 20 Jan 2015 02:57:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Risden updated HBASE-12867:
---------------------------------
    Attachment: HBASE-12867.patch

The patch adds a new command called "add_custom_peer" which takes an id, replicationEndpointImpl,
and tableCFs.

My understanding is that the clusterKey is only for remote clusters for HBase replication
so for adding a custom replication endpoint the clusterKey can be pulled from the HBase configuration.

addPeer from the HBase shell is still relying on \@Deprecated methods in ReplicationAdmin.
I wasn't sure why those addPeer methods were deprecated so didn't change them.

> Shell does not support custom replication endpoint specification
> ----------------------------------------------------------------
>
>                 Key: HBASE-12867
>                 URL: https://issues.apache.org/jira/browse/HBASE-12867
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Jingcheng Du
>              Labels: beginner, beginners
>             Fix For: 1.0.0, 2.0.0, 1.1.0, 0.98.11
>
>         Attachments: HBASE-12867.patch
>
>
> On HBASE-12254 and also at https://github.com/risdenk/hbase-custom-replication-endpoint-example
[~risdenk] made the following observations and suggestions regarding custom replication endpoints
that I think are a reasonable blueprint for improvement:
> {quote}
> 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
> {quote}
> We should fix the add_peer command in the shell at least.



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

Mime
View raw message