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

Refactor RegionMover

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

Details

    Description

      1. Move connection and admin to RegionMover's member variables. No need create connection many times.
      2. use try-with-resource to reduce code
      3. use ServerName instead of String
      4. don't use Deprecated method
      5. remove duplicate code
      ......

      Attachments

        1. HBASE-21251.master.004.patch
          47 kB
          Guanghao Zhang
        2. HBASE-21251.master.003.patch
          47 kB
          Guanghao Zhang
        3. HBASE-21251.master.002.patch
          47 kB
          Guanghao Zhang
        4. HBASE-21251.master.001.patch
          48 kB
          Guanghao Zhang

        Activity

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

          People

            zghao Guanghao Zhang
            zghao Guanghao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment