hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7634) Disallow truncation of Lazy persist files
Date Wed, 21 Jan 2015 11:35:38 GMT

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

Hudson commented on HDFS-7634:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #814 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/814/])
HDFS-7634. Disallow truncation of Lazy persist files. (Contributed by Yi Liu) (arp: rev c09c65b2125908855a5f1d0047bc164ea4bea04d)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
HDFS-7634. Fix CHANGES.txt (arp: rev dd0228b8f7d9b3851aa408398eef516b93522e95)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> 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 in­memory and on­disk replicas in sync
on a given DataNode.
> {quote}



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

Mime
View raw message