You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2015/01/20 21:11:34 UTC
[jira] [Commented] (HDFS-7634) Disallow truncation of Lazy persist
files
[ https://issues.apache.org/jira/browse/HDFS-7634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284332#comment-14284332 ]
Arpit Agarwal commented on HDFS-7634:
-------------------------------------
I filed HDFS-7643 to add a test case for this issue. I will commit the patch shortly.
> Disallow truncation of Lazy persist files
> -----------------------------------------
>
> Key: HDFS-7634
> URL: https://issues.apache.org/jira/browse/HDFS-7634
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Yi Liu
> Assignee: Yi Liu
> Fix For: 3.0.0
>
> Attachments: HDFS-7634.001.patch, HDFS-7634.002.patch
>
>
> Similar with {{append}}, lazy persist (memory) file should not support truncate currently. Quote the reason from HDFS-6581 design doc:
> {quote}
> Appends to files created with the LAZY_PERSISTflag will not be allowed in the initial implementation to avoid the complexity of keeping inmemory and ondisk replicas in sync on a given DataNode.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)