Why flink container vcore size is always 1

后端 未结 3 1734
借酒劲吻你
借酒劲吻你 2021-01-16 00:14

I am running flink on yarn(more precisely in AWS EMR yarn cluster).

I read flink document and source code that by default for each task manager container, flink will

3条回答
  •  心在旅途
    2021-01-16 00:50

    @yinhua.

    Use the command to start a session:./bin/yarn-session.sh, you need add -s arg.

    -s,--slots Number of slots per TaskManager

    details:

    1. https://ci.apache.org/projects/flink/flink-docs-release-1.4/ops/deployment/yarn_setup.html
    2. https://ci.apache.org/projects/flink/flink-docs-release-1.4/ops/cli.html#usage

提交回复
热议问题