You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2013/11/15 11:47:21 UTC

[jira] [Created] (HBASE-9975) Not starting ReplicationSink when using custom implementation for the ReplicationSink.

Anoop Sam John created HBASE-9975:
-------------------------------------

             Summary: 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


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)