[ https://issues.apache.org/jira/browse/HDFS-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260933#comment-14260933 ]
Vinayakumar B commented on HDFS-6633: ------------------------------------- Tests {{TestDatanodeManager}} and {{TestLeaseRecovery2}} seems unrelated to my patch as patch works only when the new client API is used. {{TestReadWhileWriting}} passed locally for me without timeout. Triggered the jenkins again to confirm. > 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: Vinayakumar B > Attachments: HDFS-6633-001.patch, HDFS-6633-002.patch, > HDFS-6633-003.patch, 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)