Why flink container vcore size is always 1

后端 未结 3 1736
借酒劲吻你
借酒劲吻你 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:36

    I get the answer finally. It's because yarn is use "DefaultResourceCalculator" allocation strategy, so only memory is counted for yarn RM, even if flink requested 3 vcores, but yarn simply ignore the cpu core number.

提交回复
热议问题