Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 76146 invoked from network); 3 Jun 2008 18:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jun 2008 18:13:08 -0000 Received: (qmail 38205 invoked by uid 500); 3 Jun 2008 18:13:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 37895 invoked by uid 500); 3 Jun 2008 18:13:09 -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 37884 invoked by uid 99); 3 Jun 2008 18:13:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 11:13:09 -0700 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; Tue, 03 Jun 2008 18:12:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09643234C12F for ; Tue, 3 Jun 2008 11:12:45 -0700 (PDT) Message-ID: <1821109337.1212516765037.JavaMail.jira@brutus> Date: Tue, 3 Jun 2008 11:12:45 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3177) Expose DFSOutputStream.fsync API though the FileSystem interface In-Reply-To: <593013264.1207342045819.JavaMail.jira@brutus> 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-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602011#action_12602011 ] Tsz Wo (Nicholas), SZE commented on HADOOP-3177: ------------------------------------------------ > Furthermore FileOutputStream#getFD is final, as is FileDescriptor, so we can't use it here. Oops, I missed this point. We definitely cannot use FileDescriptor. I think the Syncable interface idea is good. > Expose DFSOutputStream.fsync API though the FileSystem interface > ---------------------------------------------------------------- > > Key: HADOOP-3177 > URL: https://issues.apache.org/jira/browse/HADOOP-3177 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Reporter: dhruba borthakur > Assignee: dhruba borthakur > > In the current code, there is a DFSOutputStream.fsync() API that allows a client to flush all buffered data to the datanodes and also persist block locations on the namenode. This API should be exposed through the generic API in the org.hadoop.fs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.