How to increase the number of containers in nodemanager in YARN

后端 未结 2 1592
长情又很酷
长情又很酷 2021-02-03 13:46

A node in my YARN cluster has 64GB memory and 24 cores. I set the following properties in the yarn-site.xml:


  yarn.nodemanager.reso         


        
2条回答
  •  时光取名叫无心
    2021-02-03 14:14

    You need to tell YARN how to break down the memory to containers so for instance if you set the memory per container to 2GB will give you 16 containers

    yarn.scheduler.minimum-allocation-mb
    2048
    

提交回复
热议问题