Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0, 3.3.5
Description
Based on the cluster load, it would be helpful to consider tuning block invalidate limit (dfs.block.invalidate.limit). The only way we can do this without restarting Namenode as of today is by reconfiguring heartbeat interval
Math.max(heartbeatInt*20, blockInvalidateLimit)
, this logic is not straightforward and operators are usually not aware of it (lack of documentation), also updating heartbeat interval is not desired in all the cases.
We should provide the ability to alter block invalidation limit without affecting heartbeat interval on the live cluster to adjust some load at Datanode level.
We should also take this opportunity to keep (heartbeatInterval * 20) computation logic in a common method.
Attachments
Issue Links
- links to