You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/11/06 02:59:26 UTC

[GitHub] [flink] wangyang0918 commented on issue #10089: [FLINK-12342][yarn] Remove container requests in order to reduce excess containers

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:
users@infra.apache.org


With regards,
Apache Git Services