spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zsxw...@apache.org
Subject spark git commit: [SPARK-17894][HOTFIX] Fix broken build from
Date Tue, 25 Oct 2016 03:16:02 GMT
Repository: spark
Updated Branches:
  refs/heads/master d479c5262 -> 483c37c58


[SPARK-17894][HOTFIX] Fix broken build from

The named parameter in an overridden class isn't supported in Scala 2.10 so was breaking the
build.

cc zsxwing

Author: Kay Ousterhout <kayousterhout@gmail.com>

Closes #15617 from kayousterhout/hotfix.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/483c37c5
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/483c37c5
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/483c37c5

Branch: refs/heads/master
Commit: 483c37c581fedc64b218e294ecde1a7bb4b2af9c
Parents: d479c52
Author: Kay Ousterhout <kayousterhout@gmail.com>
Authored: Mon Oct 24 20:16:00 2016 -0700
Committer: Shixiong Zhu <shixiong@databricks.com>
Committed: Mon Oct 24 20:16:00 2016 -0700

----------------------------------------------------------------------
 core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/483c37c5/core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala b/core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala
index f395fe9..a757041 100644
--- a/core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala
+++ b/core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala
@@ -22,7 +22,7 @@ import org.apache.spark.TaskContext
 class FakeTask(
     stageId: Int,
     partitionId: Int,
-    prefLocs: Seq[TaskLocation] = Nil) extends Task[Int](stageId, stageAttemptId = 0, partitionId)
{
+    prefLocs: Seq[TaskLocation] = Nil) extends Task[Int](stageId, 0, partitionId) {
   override def runTask(context: TaskContext): Int = 0
   override def preferredLocations: Seq[TaskLocation] = prefLocs
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message