Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
Description
Even after specifying yarn.containers.vcores and having Flink request such a container from YARN, it may not take these into account at all and return a container with 1 vcore.
The YARN configuration needs to be adapted to take the vcores into account, e.g. by setting the FairScheduler in yarn-site.xml:
<property>
<name>yarn.resourcemanager.scheduler.class</name>
<value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value>
</property>
This fact should be documented at least at the configuration parameter documentation of yarn.containers.vcores.