Ngone51 commented on code in PR #38064:
URL: https://github.com/apache/spark/pull/38064#discussion_r994221660
##########
core/src/test/scala/org/apache/spark/scheduler/TaskSchedulerImplSuite.scala:
##########
@@ -761,11 +761,13 @@ class TaskSchedulerImplSuite extends SparkFunSuite with
LocalSparkContext
}
// End the other task of the taskset, doesn't matter whether it
succeeds or fails.
val otherTask = tasks(1)
- val result = new
DirectTaskResult[Int](valueSer.serialize(otherTask.taskId), Seq(), Array())
+ val result = new
DirectTaskResult[Int](valueSer.serialize(otherTask.taskId), Seq(),
+ Array[Long]())
tsm.handleSuccessfulTask(otherTask.taskId, result)
} else {
tasks.foreach { task =>
- val result = new
DirectTaskResult[Int](valueSer.serialize(task.taskId), Seq(), Array())
+ val result = new
DirectTaskResult[Int](valueSer.serialize(task.taskId), Seq(),
+ Array[Long]())
Review Comment:
Is it a required change (adding [Long]) now? Seems like it was Long already.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]