Does anyone know how to configure flink task manag...
# troubleshooting
a
Does anyone know how to configure flink task manager memory for EMR EC2 instances? I am using
c6i.xlarge
which has
5632
mb memory as per docs And I have set memory as
Copy code
taskmanager.memory.process.size = 4g
taskmanager.numberOfTaskSlots = 2
However it was not able to spawn a task manager in the instance...when I change to
c5.xlarge
which has
6144
mb it is able to spawn the TM So now my question is i anyone has any tips on how you calculate task manager memory based on instance type and available RAM?
a
That only documents how we set memory and not how much we can set right? For example I am looking for something like we have for Spark: https://aws.github.io/aws-emr-best-practices/applications/spark/best_practices/#bp-516-tune-driverexecutor-memor[…]o-fully-utilize-cluster-resources
Ok I got it...its because job manager is using 1600mb and task manager needs 4096mb which is 5696mb in total. c6i.xlarge only has 5632...which is why its not able to spawn the TM.
πŸ‘ 1
j
cool, glad you figured it out πŸ™‚
gratitude thank you 1