Skip to main content
Bronze ⭐️⭐️⭐️
Nov 3, 2026 12:11 AM UTC
Question

Do I need to size RAM differently for YARN worker nodes?

Hi everyone,

We’re setting up a few new worker nodes for our cluster and I’m stuck on memory. Our jobs are mostly Spark and Hive, and sometimes they run out of memory when a lot of them start at once.

The servers we picked take  and I’m trying to decide how much to put in each node. Is it better to fill all the slots now, or start smaller and add more later?

How much memory per worker node do you run, and has it been enough? I’d love to hear what worked for you.

Thanks!

1 reply

vafs
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
Nov 3, 2026 8:38 PM UTC

Hello ​@samjhon, 

Thanks for being part of our community. 

I think it worths for you to take a look on this documentations: 
https://docs.cloudera.com/cdp-private-cloud-upgrade/latest/upgrade/topics/cdpdc-yarn.html 
https://docs.cloudera.com/cdp-private-cloud-base/7.3.2/yarn-reference/topics/yarn-tuning.html

Those links can help you with the configuration of the YARN nodes. 

Also, make sure the setting “yarn.nodemanager.resource.memory-mb” is not bigger than the actual memory, so you can avoid the OOM issues. 

Regards,
Andrés Fallas
-- Was your question answered?
Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs-up button.

Translate