Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.4, 1.7.2, 1.8.0
-
We runs job in Flink release 1.6.3.
-
With Flink 1.9.0 the Yarn heartbeat configuration parameter has been renamed from `yarn.heartbeat-delay` to `yarn.heartbeat.interval`.
Description
In currently implementation of YarnFlinkResourceManager, it starts to acquire new container one by one when get request from SlotManager. The mechanism works when job is still, say less than 32 containers. If the job has 256 container, containers can't be immediately allocated and appending requests in AMRMClient will be not removed accordingly. We observe the situation that AMRMClient ask for current pending request + 1 (the new request from slot manager) containers. In this way, during the start time of such job, it asked for 4000+ containers. If there is an external dependency issue happens, for example hdfs access is slow. Then, the whole job will be blocked without getting enough resource and finally killed with SlotManager request timeout.
Thus, we should use the total number of container asked rather than pending request in AMRMClient as threshold to make decision whether we need to add one more resource request.
Attachments
Attachments
Issue Links
- is caused by
-
FLINK-13184 Starting a TaskExecutor blocks the YarnResourceManager's main thread
- Closed
- relates to
-
FLINK-14582 Do not upload {uuid}-taskmanager-conf.yaml for each task manager container
- Closed
- links to