[
https://issues.apache.org/jira/browse/HDFS-7228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7228:
----------------------------
Attachment: HDFS-7228.001.patch
Thanks for the comments, Suresh! So in the new patch I just change the new
policy to:
{code}
storageTypes=[SSD, DISK],
creationFallbacks=[SSD, DISK],
replicationFallbacks=[SSD, DISK]
{code}
Thus the first replica will be placed in SSD, and the remaining will be on
DISK. If the cluster is run out of SSD, then DISK is used for both block
allocation or replica recovery. This policy also covers the scenario where DISK
is unavailable (the policy falls back to SSD then) although it is usually rare
in practice.
> Add an SSD policy into the default BlockStoragePolicySuite
> ----------------------------------------------------------
>
> Key: HDFS-7228
> URL: https://issues.apache.org/jira/browse/HDFS-7228
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 2.6.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-7228.000.patch, HDFS-7228.001.patch
>
>
> Currently in the default BlockStoragePolicySuite, we've defined 4 storage
> policies: LAZY_PERSIST, HOT, WARM, and COLD. Since we have already defined
> the SSD storage type, it will be useful to also include a SSD related storage
> policy in the default suite.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)