-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.3.0
-
Component/s: namenode
-
Labels:None
-
Hadoop Flags:Reviewed
-
Release Note:Add a new editlog record (OP_ADD_BLOCK) that only records allocation of the new block instead of the entire block list, on every block allocation.
Currently every time a block a allocated, the entire list of blocks are written in the editlog in OP_UPDATE_BLOCKS operation. This has n^2 growth issue. The total size of editlog records for a file with large number of blocks could be huge.
The goal of this jira is discuss adding a different editlog record that only records allocation of block and not the entire block list, on every block allocation.
- requires
-
HDFS-5777 Update LayoutVersion for the new editlog op OP_ADD_BLOCK
-
- Closed
-