Apache Spark Certification Practice Test

Question: 1 / 400

Who is responsible for starting an executor when using YARN?

Resource Manager

Application Master

Node Manager

The correct choice highlights the role of the Node Manager in the context of YARN (Yet Another Resource Negotiator) and its architecture. In a YARN-based application, the Node Manager is responsible for managing the lifecycle of containers on a particular node. This includes starting, stopping, and monitoring the containers that host the application executors.

When an application is submitted to YARN, the Resource Manager allocates resources as requested by the Application Master. The Application Master then communicates with the Node Managers to request allocation of containers where executors will run. However, the actual initiation of the executor process is handled by the Node Manager, which takes care of launching the containers, monitoring resource usage, and reporting back to the Resource Manager.

Understanding this helps clarify the responsibilities within the partitioned architecture of YARN, where the Resource Manager orchestrates resource allocation and the Node Manager executes those tasks on individual nodes.

Get further explanation with Examzify DeepDiveBeta

Driver Program

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy