hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6990) Add unit test for evict/delete RAM_DISK block with open handle
Date Tue, 23 Sep 2014 00:53:35 GMT

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

Arpit Agarwal commented on HDFS-6990:
-------------------------------------

+1 for the patch. Thanks for addressing all the rounds of feedback [~xyao]. I will commit
it shortly.

> Add unit test for evict/delete RAM_DISK block with open handle
> --------------------------------------------------------------
>
>                 Key: HDFS-6990
>                 URL: https://issues.apache.org/jira/browse/HDFS-6990
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>         Attachments: HDFS-6990.0.patch, HDFS-6990.1.patch, HDFS-6990.2.patch, HDFS-6990.3.patch
>
>
> This is to verify:
> * Evict RAM_DISK block with open handle should fall back to DISK.
> * Delete RAM_DISK block (persisted) with open handle should mark the block to be deleted
upon handle close. 
> Simply open handle to file in DFS name space won't work as expected. We need a local
FS file handle to the block file. The only meaningful case is for Short Circuit Read. This
JIRA is to validate/enable the two cases with SCR enabled MiniDFSCluster.



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

Mime
View raw message