Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
A new API DFSOututStream.flush() flushes all outstanding data to the pipeline of datanodes.
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-1700 Append to files in HDFS
- Closed
- relates to
-
HDFS-24 FSDataOutputStream should flush last partial CRC chunk
- Resolved