Yarn状态机
This commit is contained in:
parent
ea8d70a5ef
commit
23b9b93b4c
@ -97,5 +97,20 @@ AsyncDispatcher#getEventHandler()是异步派发的关键:
|
||||
```
|
||||
|
||||
|
||||
|
||||
ResourceManager中状态机:
|
||||
|
||||
- RMApp:用于维护一个Application的生命周期,实现类 - RMAppImpl
|
||||
- RMAppAttempt:用于维护一次试探运行的生命周期,实现类 - RMAppAttemptImpl
|
||||
- RMContainer:用于维护一个已分配的资源最小单位Container的生命周期,实现类 - RMContainerImpl
|
||||
- RMNode:用于维护一个NodeManager的生命周期,实现类 - RMNodeImpl
|
||||
|
||||
NodeManager中状态机:
|
||||
|
||||
- Application:用于维护节点上一个Application的生命周期,实现类 - ApplicationImpl
|
||||
- Container:用于维护节点上一个容器的生命周期,实现类 - ContainerImpl
|
||||
- LocalizedResource:用于维护节点上资源本地化的生命周期,没有使用接口即实现类 - LocalizedResource
|
||||
|
||||
|
||||
https://monkeysayhi.github.io/2018/11/20/%E6%BA%90%E7%A0%81%7CYarn%E7%9A%84%E4%BA%8B%E4%BB%B6%E9%A9%B1%E5%8A%A8%E6%A8%A1%E5%9E%8B%E4%B8%8E%E7%8A%B6%E6%80%81%E6%9C%BA/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user