What is a container in YARN?

rahul picture rahul · Jan 16, 2013 · Viewed 52.4k times · Source

What is a container in YARN? Is it same as the child JVM in which the tasks on the nodemanager run or is it different?

Answer

Lorand Bendig picture Lorand Bendig · Jan 16, 2013

It represents a resource (memory) on a single node at a given cluster.
A container is

  • supervised by the node manager
  • scheduled by the resource manager

One MR task runs in such container(s).