Question : If Cluster nodes have CPU cores, GB RAM, and disks, and HBase is also installed, then what should be Reserved Memory
1. 6 GB reserved for system memory + (if HBase) 8 GB for HBase 2. 4 GB reserved for system memory + (if HBase) 8 GB for HBase 3. 2 GB reserved for system memory + (if HBase) 8 GB for HBase 4. 12 GB reserved for system memory + (if HBase) 8 GB for HBase
Correct Answer : 1
Explanation: Cluster nodes have 12 CPU cores, 48 GB RAM, and 12 disks.
Reserved Memory = 6 GB reserved for system memory + (if HBase) 8 GB for HBase
Min container size = 2 GB
If there is no HBase:
# of containers = min (2*12, 1.8* 12, (48-6)/2) = min (24, 21.6, 21) = 21
RAM-per-container = max (2, (48-6)/21) = max (2, 2) = 2
Question : MapReduce runs on top of YARN and utilizes YARN Containers to schedule and execute its Map and Reduce tasks. When configuring MapReduce resource utilization on YARN, which of the aspects to consider:
1. The physical RAM limit for each Map and Reduce task 2. The JVM heap size limit for each task. 3. The amount of virtual memory each task will receive. 4. 1 and 3 5. All 1,2 and 3
Correct Answer : 5 MapReduce runs on top of YARN and utilizes YARN Containers to schedule and execute its Map and Reduce tasks. When configuring MapReduce resource utilization on YARN, there are three aspects to consider:
The physical RAM limit for each Map and Reduce task.
The JVM heap size limit for each task.
The amount of virtual memory each task will receive.
You can define a maximum amount of memory for each Map and Reduce task. Since each Map and Reduce task will run in a separate Container, these maximum memory settings should be equal to or greater than the YARN minimum Container allocation.
In above scenerio.. 1. YARN will be able to allocate on each node up to 10 mappers or 3 reducers or a permutation within that. 2. YARN will be able to allocate on each node up to 8 mappers or 5 reducers or a permutation within that. 3. Access Mostly Uused Products by 50000+ Subscribers 4. With YARN and MapReduce 2, you will have pre-configured static slots for Map and Reduce tasks