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 4FEDB119C1 for ; Mon, 22 Sep 2014 02:49:36 +0000 (UTC) Received: (qmail 91588 invoked by uid 500); 22 Sep 2014 02:49:36 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 91535 invoked by uid 500); 22 Sep 2014 02:49:35 -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 91521 invoked by uid 99); 22 Sep 2014 02:49:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 02:49:35 +0000 Date: Mon, 22 Sep 2014 02:49:35 +0000 (UTC) From: "Tsz Wo Nicholas Sze (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6633) Support reading new data in a being written file until the file is closed 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-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14142845#comment-14142845 ] Tsz Wo Nicholas Sze commented on HDFS-6633: ------------------------------------------- [~vinayrpet], I agree that it is better to change DataTransferProtocol to support blocking read. Do you want to work on it? Thank you in advance and assigning this to you! If you cannot work on it, please feel free to assign this back to me. > Support reading new data in a being written file until the file is closed > ------------------------------------------------------------------------- > > Key: HDFS-6633 > URL: https://issues.apache.org/jira/browse/HDFS-6633 > Project: Hadoop HDFS > Issue Type: New Feature > Components: hdfs-client > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Attachments: h6633_20140707.patch, h6633_20140708.patch > > > When a file is being written, the file length keeps increasing. If the file is opened for read, the reader first gets the file length and then read only up to that length. The reader will not be able to read the new data written afterward. > We propose adding a new feature so that readers will be able to read all the data until the writer closes the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)