CCA-500 · Question #3
Which YARN daemon or service monitors a Controller's per-application resource using (e.g., memory CPU)?
The correct answer is B. NodeManager. Container sizes are determined by mapreduce.map.memory.mb and mapreduce.reduce.memory.mb; both default to 1,024 MB. These settings are used by the application master when negotiating for resources in the cluster, and also by the node manager, which runs and monitors the task…
Question
Which YARN daemon or service monitors a Controller's per-application resource using (e.g., memory CPU)?
Options
- AApplicationMaster
- BNodeManager
- CApplicationManagerService
- DResourceManager
How the community answered
(34 responses)- A12% (4)
- B79% (27)
- C3% (1)
- D6% (2)
Explanation
Container sizes are determined by mapreduce.map.memory.mb and mapreduce.reduce.memory.mb; both default to 1,024 MB. These settings are used by the application master when negotiating for resources in the cluster, and also by the node manager, which runs and monitors the task containers. The heap size of the Java process is set by mapred.child.java.opts, and defaults to 200 MB. You can also set the Java options separately for map and reduce tasks. If a container uses more memory than it has been allocated, then it may be terminated by the node manager and marked as failed.
Topics
Community Discussion
No community discussion yet for this question.