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

Remove ConnectionFactory#createConnection from backup / restore server code

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Reviewed

    Description

      Currently there are several places in backup / restore server code where Connection is created:

          try (Connection conn = ConnectionFactory.createConnection(conf);
      

      This should not be necessary - we can retrieve Connection from environment.

      Attachments

        1. 16588.v1.txt
          18 kB
          Ted Yu

        Activity

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

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment