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 <[email protected]>

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 <[email protected]>
Authored: Mon Oct 24 20:16:00 2016 -0700
Committer: Shixiong Zhu <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to