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

Not starting ReplicationSink when using custom implementation for the ReplicationSink.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.13
    • Fix Version/s: 0.98.0, 0.96.1, 0.94.14
    • Component/s: regionserver
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: