[ 
https://issues.apache.org/jira/browse/HBASE-24152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105888#comment-17105888
 ] 

Zheng Wang commented on HBASE-24152:
------------------------------------

{quote}Thanks. So, one replica goes to SSD and you want the RS w/ that replica 
to be favored over the others?
{quote}
Yeah.
{quote}Please explain why we need to carry around a dedicated weight just for 
this ONE_SSD placement policy; why we can't just use the existing measure?
{quote}
To be exact, this new added weight is for ssd storage type, both ONE_SSD and 
ALL_SSD storage policy ralated to it.
The existing weight dose not care about storage type, so we could not reach the 
goal that you above-mentioned by it.

> 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)

Reply via email to