Correct Answer : 2 A Container is the basic unit of processing capacity in YARN, and is an encapsulation of resource elements (memory, cpu etc.).
Question : Select the correct option which is/are correct 1. YARN takes into account all of the available compute resources on each machine in the cluster. 2. Based on the available resources, YARN negotiates resource requests from applications (such as MapReduce) running in the cluster. 3. YARN then provides processing capacity to each application by allocating Containers. 4. 1 and 3 5. 1,2 and 3
Correct Answer : 5 YARN takes into account all of the available compute resources on each machine in the cluster. Based on the available resources, YARN negotiates resource requests from applications (such as MapReduce) running in the cluster. YARN then provides processing capacity to each application by allocating Containers. A Container is the basic unit of processing capacity in YARN, and is an encapsulation of resource elements (memory, cpu etc.).
Question : As a general recommendation, allowing for ______ Containers per disk and per core gives the best balance for cluster utilization. 1. One 2. Two 3. Three 4. Four
Correct Answer : 2
Explanation: resources. As a general recommendation, allowing for two Containers per disk and per core gives the best balance for cluster utilization.
When determining the appropriate YARN and MapReduce memory configurations for a cluster node, start with the available hardware resources. Specifically, note the following values on each node:
RAM (Amount of memory)
CORES (Number of CPU cores)
DISKS (Number of disks)
The total available RAM for YARN and MapReduce should take into account the Reserved Memory. Reserved Memory is the RAM needed by system processes and other Hadoop processes (such as HBase).
Reserved Memory = Reserved for stack memory + Reserved for HBase Memory (If HBase is on the same node)
Use the following table to determine the Reserved Memory per node.