nerdexam
Huawei

H13-711_V3.5 · Question #399

In the task scheduling of YARN. Once the Application Master applies for resources, it communicates with the corresponding Resource Manager and asks it to start the task

The correct answer is B. False. Option B is correct because after the Application Master (AM) receives resource allocations from the ResourceManager, it communicates directly with the NodeManagers - not the ResourceManager - to launch and start the actual tasks. The ResourceManager's role ends at resource…

Hadoop Ecosystem Basics

Question

In the task scheduling of YARN. Once the Application Master applies for resources, it communicates with the corresponding Resource Manager and asks it to start the task

Options

  • ATrue
  • BFalse

How the community answered

(63 responses)
  • A
    24% (15)
  • B
    76% (48)

Explanation

Option B is correct because after the Application Master (AM) receives resource allocations from the ResourceManager, it communicates directly with the NodeManagers - not the ResourceManager - to launch and start the actual tasks. The ResourceManager's role ends at resource negotiation and allocation; it does not handle task execution. The NodeManagers are responsible for managing containers and starting tasks on their respective nodes, which is a deliberate separation of concerns in YARN's architecture.

Option A is wrong because it conflates two distinct YARN components: the ResourceManager (cluster-level resource scheduler) and the NodeManager (node-level task executor). The AM only talks back to the ResourceManager for resource requests and heartbeats, not to initiate task startup.

Memory tip: Think of YARN as a hiring agency model - the ResourceManager is the agency that matches jobs to workers (allocates resources), while NodeManagers are the on-site managers who actually put workers to their tasks. The Application Master goes through the agency to find workers, then directly contacts the on-site manager to start the work.

Topics

#YARN Architecture#Application Master#Resource Manager#Task Scheduling

Community Discussion

No community discussion yet for this question.

Full H13-711_V3.5 Practice