Biju Nair created HBASE-22306:
---------------------------------

             Summary: Improve SLB to distribute table regions across all region 
servers
                 Key: HBASE-22306
                 URL: https://issues.apache.org/jira/browse/HBASE-22306
             Project: HBase
          Issue Type: Improvement
          Components: Balancer
            Reporter: Biju Nair


Noticed in clusters that distribution of regions of tables are skewed. From 
quick tests, it looks like that the current table skew cost may not be having 
any influence on selecting the target "cluster" candidate.


{noformat}
Cluster: 
Nodes  regions  Tables 
  5      50       5 

Test 1: Initial Distribution
———————————
Table 0 regions [1, 1, 2, 4, 2]
Table 1 regions [1, 2, 4, 2, 2]
Table 2 regions [0, 2, 2, 0, 4]
Table 3 regions [0, 5, 0, 2, 3]
Table 4 regions [0, 2, 4, 4, 1]

Test 1: After Balancer Run
———————————
Table 0 regions [2, 2, 2, 2, 2]
Table 1 regions [2, 2, 3, 2, 2]
Table 2 regions [1, 2, 2, 2, 1]
Table 3 regions [2, 3, 0, 2, 3]
Table 4 regions [3, 1, 3, 2, 2]

Test 2: Initial Distribution
———————————
Table 0 regions [2, 1, 0, 1, 2]
Table 1 regions [5, 1, 1, 2, 1]
Table 2 regions [2, 4, 0, 2, 4]
Table 3 regions [1, 4, 1, 3, 1]
Table 4 regions [2, 2, 0, 4, 4]

Test 2: After Balancer Run
———————————-
Table 0 regions [1, 2, 2, 1, 0]
Table 1 regions [2, 2, 2, 2, 2]
Table 2 regions [3, 3, 1, 2, 3]
Table 3 regions [2, 2, 2, 2, 2]
Table 4 regions [2, 1, 3, 3, 3]{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to