virajjasani opened a new pull request #4064:
URL: https://github.com/apache/hadoop/pull/4064


   ### Description of PR
   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.
   
   ### How was this patch tested?
   Locally and with UT.
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to