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

Increase default locality wait to 3s. Fixes #20.

parent e5e9edee
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ class SimpleParallelOperation[T: ClassManifest](
extends ParallelOperation
{
// Maximum time to wait to run a task in a preferred location (in ms)
val LOCALITY_WAIT = System.getProperty("spark.locality.wait", "1000").toLong
val LOCALITY_WAIT = System.getProperty("spark.locality.wait", "3000").toLong
val callingThread = currentThread
val numTasks = tasks.length
......
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