[ https://issues.apache.org/jira/browse/HBASE-24152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105944#comment-17105944 ]
Michael Stack commented on HBASE-24152: --------------------------------------- Pardon me [~filtertip]. I think this a mistaken direction. The balancer is complicated enough w/o the extra factors -- especially when the cluster large with many regions and we are making stochastic calculation. The balancer factors macro attributes such as rack locality and then replica locality. Teaching the balancer to factor a new attribute, ssd-ism, a sub-attribute of regionservers seems like the wrong direction. Why can't the ssd aspect be factored into the general server weight; e.g. why a replica that is on ssd can't be considered 'more' local that a replica on hdd. > Add ServerSsdLocalityCostFunction to StochasticLoadBalancer > ----------------------------------------------------------- > > Key: HBASE-24152 > URL: https://issues.apache.org/jira/browse/HBASE-24152 > Project: HBase > Issue Type: New Feature > Components: Balancer > Reporter: Zheng Wang > Assignee: Zheng Wang > Priority: Major > > When use ONE_SSD storagy policy, or ALL_SSD but has not enough SSD, there > will be some hdfs blocks on DISK and others on SSD,so it is reasonable to > consider the locality of ssd for StochasticLoadBalancer. -- This message was sent by Atlassian Jira (v8.3.4#803005)