Github user CodingCat commented on a diff in the pull request:
https://github.com/apache/spark/pull/214#discussion_r10884300
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala ---
@@ -219,18 +226,43 @@ private[spark] class TaskSchedulerImpl(
taskSet.parent.name, taskSet.name, taskSet.runningTasks))
}
+ val ser = SparkEnv.get.closureSerializer.newInstance()
// Take each TaskSet in our scheduling order, and then offer it each
node in increasing order
// of locality levels so that it gets a chance to launch local tasks
on all of them.
var launchedTask = false
+ val serializingTask = new HashSet[Long]
--- End diff --
as you are not fetching serialize task from this HashSet, but just use
taskDesc in L250, can we just replace this with an integer, in L280, when this
integer is not zero, keep sleeping.....
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---