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

ReplicationAdmin leaks connections if there's an error in the constructor

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

Details

    Description

      We do some work in the ReplicationAdmin constructor after creating connections to ZK and the HBase cluster. If any part of that work throws an exception that we propagate out of the constructor (like initializing peers), then we need to clean up before we do so.

      Attachments

        1. HBASE-13131-0.94.1.patch.txt
          2 kB
          Sean Busbey
        2. HBASE-13131.1.patch.txt
          2 kB
          Sean Busbey

        Activity

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

          People

            busbey Sean Busbey
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment