Issue Details (XML | Word | Printable)

Key: HADOOP-2657
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: dhruba borthakur
Reporter: dhruba borthakur
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Enhancements to DFSClient to support flushing data at any point in time

Created: 18/Jan/08 06:10 PM   Updated: 08/Jul/09 04:42 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.17.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works flush.patch 2008-02-20 11:19 PM dhruba borthakur 23 kB
Text File Licensed for inclusion in ASF works flush2.patch 2008-02-26 06:55 PM dhruba borthakur 21 kB
Text File Licensed for inclusion in ASF works flush3.patch 2008-02-27 09:49 AM dhruba borthakur 22 kB
Text File Licensed for inclusion in ASF works flush4.patch 2008-02-29 06:23 AM dhruba borthakur 21 kB
Text File Licensed for inclusion in ASF works flush5.patch 2008-03-07 12:08 AM dhruba borthakur 23 kB
Text File Licensed for inclusion in ASF works flush6.patch 2008-03-07 09:42 PM dhruba borthakur 23 kB
Text File Licensed for inclusion in ASF works flush7.patch 2008-03-10 05:46 AM dhruba borthakur 23 kB
Text File Licensed for inclusion in ASF works flush8.patch 2008-03-10 08:14 AM dhruba borthakur 24 kB
Text File Licensed for inclusion in ASF works flush9.patch 2008-03-10 09:27 PM dhruba borthakur 25 kB
Issue Links:
Reference

Release Note: A new API DFSOututStream.flush() flushes all outstanding data to the pipeline of datanodes.
Resolution Date: 11/Mar/08 09:12 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order