Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.21.0
-
None
-
None
-
Reviewed
Description
FSNamesystem.startFileInternal should convert the last block of the file opened for append to an under-construction block and return it. This will let remove the second synchronized section in FSNamesystem.appendFile() and avoid redundant computations and potential inconsistencies as stated in HDFS-1152.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-1152 appendFile does not recheck lease in second synchronized block
- Resolved