Scala基于Akka模拟Spark Master Worker进程间通信(二):Worker定时向Master心跳_scala模拟spark的master与worker通信-CSDN博客网友收藏

Scala基于Akka模拟Spark Master Worker进程间通信(二):Worker定时向Master心跳_scala模拟spark的master与worker通信-CSDN博客

文章浏览阅读405次。最终效果Masterpackage cn.zxl.spark.masterimport akka.actor.{Actor, ActorRef, ActorSystem, Props}import cn.zxl.spark.common.{HeartBeat, RegisterWorkerInfo, RegisteredWorkerInfo, WorkerInfo}import com.typesafe.config.ConfigFactoryimport scala.collectio_scala模拟spark......
阅读全文