hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9975) Not starting ReplicationSink when using custom implementation for the ReplicationSink.
Date Sun, 17 Nov 2013 00:17:22 GMT

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

Hudson commented on HBASE-9975:
-------------------------------

SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #839 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/839/])
HBASE-9975 Not starting ReplicationSink when using custom implementation for the ReplicationSink
(anoopsamjohn: rev 1542472)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSink.java


> Not starting ReplicationSink when using custom implementation for the ReplicationSink.
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-9975
>                 URL: https://issues.apache.org/jira/browse/HBASE-9975
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.94.13
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.98.0, 0.96.1, 0.94.14
>
>         Attachments: HBASE-9975_94.patch, HBASE-9975_Trunk.patch
>
>
> Not starting ReplicationSink when using custom implementation for the ReplicationSink.
> {code}
> if (this.replicationSourceHandler == this.replicationSinkHandler &&
> 	 this.replicationSourceHandler != null) {
>    this.replicationSourceHandler.startReplicationService();
> } else if (this.replicationSourceHandler != null) {
>   this.replicationSourceHandler.startReplicationService();
> } else if (this.replicationSinkHandler != null) {
>   this.replicationSinkHandler.startReplicationService();
> }
> {code}
> ReplicationSource and Sink are different as there is custom impl for ReplicationSink.
We can not have else ifs



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message