Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Append Branch
-
None
-
Incompatible change, Reviewed
-
In order to support read consistency, get last block length from a data-node when opening a file being written to.
Description
In order to support read consistency, DFSClient needs the file length at the file opening time. In the current implmentation, DFSClient obtains the file length at the file opening time but the length is inaccurate if the file is being written.
For more details, see Section 4 in the append design doc.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-735 TestReadWhileWriting has wrong line termination symbols
- Closed
-
HADOOP-6307 Support reading on un-closed SequenceFile
- Closed