Spark修炼之道(高级篇)——Spark源码阅读:第七节 resourceOffers方法与launchTasks方法解析
在上一节中,我们提到Task提交通过makeOffers提交到Executor上//Makefakeresourceoffersonjustoneexecutor
privatedefmakeOffers(executorId:String){
//Filteroutexecutorsunderkilling
if(!executorsPendingToRemove.contains(execut