首页 > 代码库 > spark1.1.0源码阅读-executor

spark1.1.0源码阅读-executor

1. launchTask

1   def launchTask(2       context: ExecutorBackend, taskId: Long, taskName: String, serializedTask: ByteBuffer) {3     val tr = new TaskRunner(context, taskId, taskName, serializedTask)4     runningTasks.put(taskId, tr)5     threadPool.execute(tr)6   }

2. 

spark1.1.0源码阅读-executor