What is a container in YARN?

后端 未结 9 836
夕颜
夕颜 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:38

    Container is a place where the application runs its task. If you want to know the total no.of running containers in a cluster, then you could check in your cluster Yarn-Resource manager UI.

    Yarn URL: http://Your-Active-ResourceManager-IP:45020/cluster/apps/RUNNING

    At the "Running containers" column, the total no. of running containers details is present.

    Note: If you are using spark, then the spark executors would be running inside the container. One container can accommodate multiple spark executors.

提交回复
热议问题