You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by va...@apache.org on 2016/09/01 21:03:04 UTC
spark git commit: [SPARK-16533][HOTFIX] Fix compilation on Scala 2.10.
Repository: spark
Updated Branches:
refs/heads/master 3893e8c57 -> edb45734f
[SPARK-16533][HOTFIX] Fix compilation on Scala 2.10.
No idea why it was failing (the needed import was there), but
this makes things work.
Author: Marcelo Vanzin <va...@cloudera.com>
Closes #14925 from vanzin/SPARK-16533.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/edb45734
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/edb45734
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/edb45734
Branch: refs/heads/master
Commit: edb45734f43216b352bfaaef00faaf43bbac38bf
Parents: 3893e8c
Author: Marcelo Vanzin <va...@cloudera.com>
Authored: Thu Sep 1 14:02:58 2016 -0700
Committer: Marcelo Vanzin <va...@cloudera.com>
Committed: Thu Sep 1 14:02:58 2016 -0700
----------------------------------------------------------------------
.../cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/edb45734/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
----------------------------------------------------------------------
diff --git a/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala b/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
index 6948be0..bbc79dd 100644
--- a/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
+++ b/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
@@ -17,6 +17,8 @@
package org.apache.spark.scheduler.cluster.mesos
+import java.util.concurrent.TimeUnit
+
import scala.collection.JavaConverters._
import scala.collection.mutable.ArrayBuffer
import scala.concurrent.duration._
@@ -55,7 +57,7 @@ class MesosCoarseGrainedSchedulerBackendSuite extends SparkFunSuite
// All 'requests' to the scheduler run immediately on the same thread, so
// demand that all futures have their value available immediately.
- implicit override val patienceConfig = PatienceConfig(timeout = 0.seconds)
+ implicit override val patienceConfig = PatienceConfig(timeout = Duration(0, TimeUnit.SECONDS))
test("mesos supports killing and limiting executors") {
setBackend()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org