What is a container in YARN?

后端 未结 9 918
夕颜
夕颜 2020-12-13 04:06

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?

9条回答
  •  渐次进展
    2020-12-13 04:34

    Word 'Container' is used in YARN in two contexts,

    Container: Signifies an allocated resources to an ApplicationMaster. ResourceManager is responsible for issuing resource/container to an ApplicationMaster. Check Container API.

    Launching a Container: Based on allocated resources (containers) ApplicationMaster request NodeManager to start Containers, resulting in executing task on a node. Check ContainerManager API.

提交回复
热议问题