Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9975

Not starting ReplicationSink when using custom implementation for the ReplicationSink.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.13
    • 0.98.0, 0.96.1, 0.94.14
    • regionserver
    • None
    • Reviewed

    Description

      Not starting ReplicationSink when using custom implementation for the ReplicationSink.

      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();
      }
      

      ReplicationSource and Sink are different as there is custom impl for ReplicationSink. We can not have else ifs

      Attachments

        1. HBASE-9975_Trunk.patch
          2 kB
          Anoop Sam John
        2. HBASE-9975_94.patch
          2 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: