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

Improve LocalityBasedCandidateGenerator in Balancer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0, 2.0.0
    • 1.3.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      There are some problems which need to fix.
      1. LocalityBasedCandidateGenerator.getLowestLocalityRegionOnServer should skip empty region.
      2. When use LocalityBasedCandidateGenerator to generate Cluster.Action, it should add random operation instead of pickLowestLocalityServer(cluster). Because the search function may stuck here if it always generate the same Cluster.Action.
      3. getLeastLoadedTopServerForRegion should get least loaded server which have better locality than current server.

      Attachments

        1. HBASE-15515-v1.patch
          6 kB
          Guanghao Zhang
        2. HBASE-15515.patch
          6 kB
          Guanghao Zhang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: