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

Refactor RegionMover

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0, 2.1.1, 2.0.3
    • Component/s: Operability
    • Labels:
      None

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: