[ 
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.000.patch

The patch adds a new storage policy named "SSD":
{code}
new BlockStoragePolicy(id, "SSD",
new StorageType[]{StorageType.SSD}, new StorageType[]{StorageType.DISK},
new StorageType[]{StorageType.DISK});
{code}
I.e., we have:
1. For new allocated blocks, the policy tries to place all replicas on SSD
2. If #2 fails because SSD is unavailable, fall back to DISK
3. For under-replicated block recovery, if SSD is unavailable, fall back to DISK

Also use this chance to move the predefined policies' names into HdfsConstants.

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

Reply via email to