轉(zhuǎn)載自? http://www.wangsenfeng.com/articles/2016/10/26/1477467509513.html
Client:提交作業(yè)兜叨。
Master:接收作業(yè)穿扳,啟動Driver和Executor,管理Worker国旷。?
Worker:管理節(jié)點資源矛物,啟動Driver和Executor。
(1)Client?to?Master
RegisterApplication:注冊應(yīng)用跪但。?
(2)Master?to?Client?
RegisteredApplication:注冊應(yīng)用后履羞,回復(fù)給Client。
ExecutorAdded:通知Client?Worker已經(jīng)啟動了Executor屡久,當向Worker發(fā)送Launch-Executor時忆首,通知Client?Actor。?
ExecutorUpdated:通知Client?Executor狀態(tài)已更新涂身。
(3)Master?to?Worker?
LaunchExecutor:啟動Executor雄卷。?
RegisteredWorker:Worker注冊的回復(fù)。?
RegisterWorkerFailed:注冊Worker失敗的回復(fù)蛤售。?
KillExecutor:停止Executor進程丁鹉。?
(4)Worker?to?Master
RegisterWorker:注冊Worker。
Heartbeat:周期性地Master發(fā)送心跳信息悴能。
ExecutorStateChanged:通知Master揣钦,Executor狀態(tài)更新。