原创 Spark 源碼閱讀(6)——Master接收到ClientActor後,進行worker的資源分配

看一下appActor的preStart方法override def preStart() { context.system.eventStream.subscribe(self, classOf[Re