Type: New Feature
Affects Version/s: None
Fix Version/s: 0.17.0
Release Note:A new API DFSOututStream.flush() flushes all outstanding data to the pipeline of datanodes.
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.
|Assignee||dhruba borthakur [ dhruba ]|
|Fix Version/s||0.17.0 [ 12312913 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Release Note||A new API DFSOututStream.flush() flushes all outstanding data to the pipeline of datanodes.|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Component/s||dfs [ 12310710 ]|