Skip to main content
quangbilly79
Gold ⭐️
Jul 25, 2023 3:58 AM UTC
Solved

How to make Yarn deploy resources to new added node?

I added some new nodes to my cluster and it works fine. Then I add Spark Gateway roles to all the new nodes. We're using Yarn to manage and distribute Spark work.

Does adding Spark Gateway roles to new nodes enough to make Yarn think like "Hey there are some new nodes here, let's distribute some containers and work to these new nodes"? Or do I have to add Yarn Gateway roles to these new nodes too?

How to make sure that Yarn will use these new nodes when executing jobs to reduce the overall workload of my cluster

quangbilly79_0-1690257406237.png

 

 

Fawze
FawzeAnswer
Gold ⭐️⭐️
Oct 19, 2023 11:36 PM UTC

The node must have a NodeManager role to take part of the processing, Spark gateway, and Yarn Gateway

2 replies

RangaReddy
Gold ⭐️
Gold ⭐️
Oct 5, 2023 9:09 AM UTC

When we submit the spark using YARN, based on YARN resources application will run. In your case you need to add more YARN Gateway nodes to process with more resources. We can't process the data by only added new nodes and yarn will distribute processing all nodes.

Translate
Fawze
FawzeAnswer
Gold ⭐️⭐️
Oct 19, 2023 11:36 PM UTC

The node must have a NodeManager role to take part of the processing, Spark gateway, and Yarn Gateway

Translate