You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/01 11:47:00 UTC
[jira] [Commented] (FLINK-9013) Document yarn.containers.vcores
only being effective when adapting YARN config
[ https://issues.apache.org/jira/browse/FLINK-9013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16565182#comment-16565182 ]
ASF GitHub Bot commented on FLINK-9013:
---------------------------------------
aljoscha commented on issue #6294: [FLINK-9013][docs] Document yarn.containers.vcores only being effective whe…
URL: https://github.com/apache/flink/pull/6294#issuecomment-409547429
@NicoK & @dawidwys You can also enable CPU scheduling by setting the `DominantResourceCalculator` when using the default `CapacityScheduler`: https://hortonworks.com/blog/managing-cpu-resources-in-your-hadoop-yarn-clusters/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
> Document yarn.containers.vcores only being effective when adapting YARN config
> ------------------------------------------------------------------------------
>
> Key: FLINK-9013
> URL: https://issues.apache.org/jira/browse/FLINK-9013
> Project: Flink
> Issue Type: Improvement
> Components: Documentation, YARN
> Affects Versions: 1.5.0
> Reporter: Nico Kruber
> Assignee: Nico Kruber
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.3
>
>
> 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}}:
> {code}
> <property>
> <name>yarn.resourcemanager.scheduler.class</name>
> <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value>
> </property>
> {code}
> This fact should be documented at least at the configuration parameter documentation of {{yarn.containers.vcores}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)