Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.4.1
-
None
-
None
Description
Part of the memory consumed by every BlockInfo object in the Namenode is a linked list of block references for every DatanodeStorageInfo (called "triplets").
We propose to change the way we store the list in memory.
Using primitive integer indexes instead of object references will reduce the memory needed for every block replica (when compressed oops is disabled) and in our new design the list overhead will be per DatanodeStorageInfo and not per block replica.
see attached design doc. for details and evaluation results.
Attachments
Attachments
Issue Links
1.
|
Create a Block List | Patch Available | Amir Langer | |
2.
|
Use int instead of object reference to DatanodeStorageInfo in BlockInfo triplets, | Patch Available | Amir Langer | |
3.
|
Use BlockList instead of double linked list i.e BlockInfo triplets | Open | Amir Langer |