You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by zs...@apache.org on 2016/10/25 03:16:02 UTC
spark git commit: [SPARK-17894][HOTFIX] Fix broken build from
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 <ka...@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 <ka...@gmail.com>
Authored: Mon Oct 24 20:16:00 2016 -0700
Committer: Shixiong Zhu <sh...@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