wangyang0918 commented on issue #10089: [FLINK-12342][yarn] Remove container 
requests in order to reduce excess containers
URL: https://github.com/apache/flink/pull/10089#issuecomment-550120048
 
 
   Moving the `removeContainerRequest` first in `onContainersAllocated` is a 
reasonable fix. And it could reduce the excess containers to some extent. 
However, it could not solve the problem completely. Uploading a config file to 
hdfs will take 50ms in many production hdfs cluster. It means only 10 
containers could be started. If we receive more than 10 containers, the 
`CallbackHandlerThread` of yarn am-rm client will be blocked. So 
`removeContainerRequest` may not be called timely.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to