hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12867) Shell does not support custom replication endpoint specification
Date Thu, 29 Jan 2015 01:03:49 GMT

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

Enis Soztutar commented on HBASE-12867:
---------------------------------------

bq. I wanted to test that when adding a peer with the same id that an exception is thrown
up to the shell. The exception is actually a java.lang.IllegalArgumentException but I can't
catch it with assert_raise. JRUBY-5279 identifies the issue and it looks like it is fixed
in JRuby 1.7 but HBase is using JRuby 1.6.8. I can remove the test if that helps.
Usually, we do not commit commented out code, but in this case, we can keep the test. If we
ever move to a newer version of jruby, we can enable the test later. 
I'll commit if hadoopqa passes. 

> 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: Kevin Risden
>              Labels: beginner, beginners
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11
>
>         Attachments: HBASE-12867-v1.patch, HBASE-12867-v2.patch, HBASE-12867-v3.patch,
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