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

The method setClusterLoad of SimpleLoadBalancer is incorrect when balance by table

    XMLWordPrintableJSON

Details

    Description

      now if in parameter clusterLoad is by table, for example

      table1=>
           server1=>[table1,region1]
           server2=>[]
      table2=>
          server1=>[table2,region1]
          server2=>[]
      

      then, the member variable serverLoadList is:

      [{server1, load 1}{server2, load 0}{server1, load 1} {server2, load 0}]
      

      the cluster will be considered balanced  in method overallNeedsBalance

      Attachments

        Issue Links

          Activity

            People

              niuyulin Yulin Niu
              niuyulin Yulin Niu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: