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

Arpit Agarwal edited comment on HDFS-8157 at 4/21/15 1:12 AM:
--------------------------------------------------------------

Initial patch to reserve memory with cacheManager when writing replicas to RAM 
disk. Memory is released when the replica is evicted from RAM disk.

The eviction logic is still keyed off disk free space. Will fix that next via 
HDFS-8192. I did not include it here since this patch is already quite large.


was (Author: arpitagarwal):
Initial patch to reserve memory with cacheManager when writing replicas to RAM 
disk. Memory is released when the replica is evicted from RAM disk.

The eviction logic is still keyed off disk free space. Will fix that next via 
HDFS-8192.

> Writes to RAM DISK reserve locked memory for block files
> --------------------------------------------------------
>
>                 Key: HDFS-8157
>                 URL: https://issues.apache.org/jira/browse/HDFS-8157
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-8157.01.patch
>
>
> Per discussion on HDFS-6919, the first step is that writes to RAM disk will 
> reserve locked memory via the FsDatasetCache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to