Skip to content

Commit 2a928b2

Browse files
committed
Set locality wait
1 parent 10b3596 commit 2a928b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphx/src/main/scala/org/apache/spark/graphx/lib/Analytics.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ object Analytics extends Logging {
5151
val conf = new SparkConf()
5252
.set("spark.serializer", "org.apache.spark.serializer.KryoSerializer")
5353
.set("spark.kryo.registrator", "org.apache.spark.graphx.GraphKryoRegistrator")
54+
.set("spark.locality.wait", "100000")
5455

5556
taskType match {
5657
case "pagerank" =>

0 commit comments

Comments
 (0)