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

[replication] Shutting down a stream leaves recovered sources running

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.4
    • 0.90.5
    • None
    • None
    • Reviewed

    Description

      When removing a peer it will call ReplicationSourceManager.removePeer which calls closeRecoveredQueue which does this:

      LOG.info("Done with the recovered queue " + src.getPeerClusterZnode());
      this.oldsources.remove(src);
      this.zkHelper.deleteSource(src.getPeerClusterZnode(), false);
      

      This works in the case where the recovered source is done and is calling this method, but when removing a peer it never calls terminate on thus it leaving it running.

      Attachments

        1. HBASE-4501.patch
          1 kB
          Jean-Daniel Cryans

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment