[
https://issues.apache.org/jira/browse/HDFS-14401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814292#comment-16814292
]
Rakesh R commented on HDFS-14401:
---------------------------------
Volume management at the datanode uses java Files APIs and do managing the
mount paths. Similar to that, this feature also have multiple {{pmem.dirs}}
supported, to make it simple {{pmem}} can also follow the same pattern. This
will make the basic pmem configuration easy and user can enable the feature
with less efforts. Later, if there is a need of special shared deployment (same
mount path used by HDFS cache and some other apps) then we can provide advance
configuration per pmem volume management complexity.
Can use java file APIs like,
{code:java}
java.io.File.getTotalSpace();
java.io.File.getFreeSpace();
java.io.File.getUsableSpace();
{code}
[Hadoop code reference:
DF.java|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DF.java#L83]
> Refine the implementation for HDFS cache on SCM
> -----------------------------------------------
>
> Key: HDFS-14401
> URL: https://issues.apache.org/jira/browse/HDFS-14401
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: caching, datanode
> Reporter: Feilong He
> Assignee: Feilong He
> Priority: Major
> Attachments: HDFS-14401.000.patch
>
>
> In this Jira, we will refine the implementation for HDFS cache on SCM, such
> as: 1) Handle full pmem volume in VolumeManager; 2) Refine pmem volume
> selection impl; 3) Clean up MapppableBlockLoader interface; etc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]