lhaiesp opened a new pull request #1441:
URL: https://github.com/apache/samza/pull/1441


   Problem: If YARN does not immediately allocate resources for a container and 
host affinity is disabled for the job, then the container allocator will spam 
the logs with messages about the request, even if the request is considered 
expired. This is because the allocator loops over the pending requests to check 
if they have been allocated, but there is no delay between loop iterations, so 
it might just keep checking the same pending request over and over as fast as 
possible. A metric is also incremented in this flow, so that metric is 
extremely high, which is probably not the intention.
   
   Changes: Avoid infinite loop by breaking the loop if host affinity is 
disabled
   
   Tests: new unit test
   
   API changes: N/A
   
   Usage instructions: N/A
   
   Upgrade instructions: None


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to