Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
As per discussion in HDFS-3960 and HDFS-2802, when clients that need strong consistency update the file length at the NameNode, a special sync/flush is required for getting the length of the being written files when snapshots are taken for these files. This jira implements this sync-with-updating-length by 1) calling ClientProtocol#fsync(), and 2) adding a new field to ClientProtocol#fsync() to indicate the length information.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-5478 File size reports as zero after writing and calling FSDataOutputStream#hsync()
- Resolved
- is related to
-
HDFS-5478 File size reports as zero after writing and calling FSDataOutputStream#hsync()
- Resolved
-
FLINK-12022 Enable StreamWriter to update file length on sync flush
- Closed