Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 37754 invoked from network); 7 Mar 2008 21:45:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2008 21:45:06 -0000 Received: (qmail 3600 invoked by uid 500); 7 Mar 2008 21:45:01 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 3578 invoked by uid 500); 7 Mar 2008 21:45:01 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 3569 invoked by uid 99); 7 Mar 2008 21:45:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 13:45:01 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 21:44:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 327E2234C08E for ; Fri, 7 Mar 2008 13:43:46 -0800 (PST) Message-ID: <13832363.1204926226199.JavaMail.jira@brutus> Date: Fri, 7 Mar 2008 13:43:46 -0800 (PST) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2657) Enhancements to DFSClient to support flushing data at any point in time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur updated HADOOP-2657: ------------------------------------- Attachment: flush6.patch Incorporated Raghu's comments. > Enhancements to DFSClient to support flushing data at any point in time > ----------------------------------------------------------------------- > > Key: HADOOP-2657 > URL: https://issues.apache.org/jira/browse/HADOOP-2657 > Project: Hadoop Core > Issue Type: New Feature > Components: dfs > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Attachments: flush.patch, flush2.patch, flush3.patch, flush4.patch, flush5.patch, flush6.patch > > > The HDFS Append Design (HADOOP-1700) requires that there be a public API to flush data written to a HDFS file that can be invoked by an application. This API (popularly referred to a fflush(OutputStream)) will ensure that data written to the DFSOutputStream is flushed to datanodes and any required metadata is persisted on Namenode. > This API has to handle the case when the client decides to flush after writing data that is not a exact multiple of io.bytes.per.checksum. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.