The workflow of yarn

1. The client submits the job to RM
2. RM will go to NM to open a container container to run AM
3. AM will register itself with RM
4. AM will apply for the corresponding number of Containers from RM to run tasks
5. Container will First perform an initialization work. After the initialization is completed, the AM will notify the corresponding NM to start the container.
6. The NM will start the container.
7. The container will report its progress, status and other information to the AM during operation, and maintain a heartbeat with the AM.
Mechanism
8. Waiting for the application After the execution is completed, the AM logs itself out to the RM and allows the RM to take back resources

おすすめ

転載: blog.csdn.net/weixin_43015677/article/details/129539583