Skip to content
Snippets Groups Projects
Commit 4c888b29 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Fix queue type for executor

parent bea3a330
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ class Executor extends mesos.Executor with Logging {
// Start worker thread pool
threadPool = new ThreadPoolExecutor(
1, 128, 600, TimeUnit.SECONDS, new LinkedBlockingQueue[Runnable])
1, 128, 600, TimeUnit.SECONDS, new SynchronousQueue[Runnable])
}
override def launchTask(d: ExecutorDriver, desc: TaskDescription) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment