[
https://issues.apache.org/jira/browse/HDFS-16201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414925#comment-17414925
]
Ayush Saxena commented on HDFS-16201:
-------------------------------------
Thanx [~yuanbo] for the patch.
There are other storage types as well, you need to cover them up:
{code:java}
RAM_DISK(true, true),
SSD(false, false),
DISK(false, false),
ARCHIVE(false, false),
PROVIDED(false, false),
NVDIMM(false, true);
{code}
The config that you have added is into hadoop-common, core-site.xml. We need to
add it in hdfs-site.xml, DfsClientConfig
> Select datanode based on storage type
> -------------------------------------
>
> Key: HDFS-16201
> URL: https://issues.apache.org/jira/browse/HDFS-16201
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Yuanbo Liu
> Assignee: Yuanbo Liu
> Priority: Major
> Attachments: HDFS-16201-001.patch
>
>
> Since storage policy was introduced into hdfs, it would be useful if hdfs
> client could choose datanode of replica based on storage type priority when
> reading. The priority should be RAM_DISK > SSD > DISK > ARCHIVE.
> Here is the process graph
> !https://iwiki.woa.com/download/attachments/979566104/image2021-8-31_20-23-24.png?version=1&modificationDate=1630412605000&api=v2!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]