Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D433FED65 for ; Thu, 17 Jan 2013 18:36:26 +0000 (UTC) Received: (qmail 78676 invoked by uid 500); 17 Jan 2013 18:36:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 78634 invoked by uid 500); 17 Jan 2013 18:36:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 78597 invoked by uid 99); 17 Jan 2013 18:36:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 18:36:23 +0000 Date: Thu, 17 Jan 2013 18:36:23 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4098) Support append to original files which are snapshotted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556448#comment-13556448 ] Jing Zhao commented on HDFS-4098: --------------------------------- +1 for the new patch. > Support append to original files which are snapshotted > ------------------------------------------------------ > > Key: HDFS-4098 > URL: https://issues.apache.org/jira/browse/HDFS-4098 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Fix For: Snapshot (HDFS-2802) > > Attachments: h4098_20130107.patch, h4098_20130109b.patch, h4098_20130113.patch, h4098_20130116.patch, h4098_20130117.patch, HDFS-4098.compile.patch > > > When a regular file is reopened for append, the type is changed from INodeFile to INodeFileUnderConstruction. The type of snapshotted files (i.e. original files) is INodeFileWithLink. We have to support similar "under construction" INodeFileWithLink. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira