hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8157) Writes to RAM DISK reserve locked memory for block files
Date Fri, 15 May 2015 01:32:00 GMT

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

Colin Patrick McCabe commented on HDFS-8157:

Thanks for the clarification.  If the intention is to release {{original_reservation_length
- round_up(new_reservation_length, page_size)}}, wouldn't it be more straightforward to just
do that?  I don't think the overhead of the extra subtraction is significant, and it would
be a lot easier to follow.  We would also be able to skip writing all the {{roundDown}} code.

> 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, HDFS-8157.02.patch, HDFS-8157.03.patch, HDFS-8157.04.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

View raw message