Introduction
The main responsibility of BSPMaster can be found at Architecture
Services
The BSPMaster is a collection of services performing different tasks, including:
- masterServer: An RPC server.
- instructor: Asynchronous message dispatcher.
- taskScheduler: A task scheduling service.
- infoServer: A http server.
- supervisor: (TODO: move to Monitor?)
- systemDirCleaner: Cleanup system directory, default /tmp/hadoop/bsp/system, on HDFS.
- syncClient: BSPMaster ZooKeeper client (TODO:curator?)
- timer service: TODO
State
Two states are applied to BSPMaster node, including:
- Initializing
- Running
- Failed
- Shutting Down
- Recovering
- Stopped
MasterStateTransition.png|alt=BSPMaster State title=BSPMaster State!