CHeck in your Yarn configuration, Are you using DeafaultResourceCalculater
which only uses memory while allocating resources. So you have to change it
to DominantResourceCalculator.
<property>
<name>yarn.scheduler.capacity.resource-calculator</name>
<value>org.apache.hadoop.yarn.util.resource.DominantResourceCalculator</value>
</property>
Check this:
https://hortonworks.com/blog/managing-cpu-resources-in-your-hadoop-yarn-clusters/--
Sent from:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/