hadoop-2.7.2

YARN: Containers and JVM

假如想象 提交于 2019-12-10 14:56:47
问题 Can someone help me understand the relation between JVM and containers in YARN? How JVMs are created, is it one JVM for each task? can multiple tasks run in the same JVM at the same time? (I'm aware of ubertasking where many tasks (maps/reduce) can run in same JVM one after the other). Is it one JVM for each container? or multiple containers in a single JVM? or there is no relation between JVM and containers? when a resource manager allocates containers for a job, does multiple tasks inside