Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.7.1
-
None
Description
CachedBlocks currently are transparent for Balancer when active feature of centralized cache management. This makes DataNode exchange memory frequently, because Balancer does not Distinguish CachedBlock from blocks, so it may trigger mount of cached/uncached ops.
I think namenode should avoid return CacheBlocks as much as possible when Balanacer#getblocks.