Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/1259#discussion_r14859650
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala ---
@@ -536,23 +533,17 @@ private[spark] class TaskSetManager(
// Not adding to failed executors for FetchFailed.
isZombie = true
- case TaskKilled =>
- // Not adding to failed executors for TaskKilled.
- logWarning("Task %d was killed.".format(tid))
-
case ef: ExceptionFailure =>
- taskMetrics = ef.metrics.getOrElse(null)
+ taskMetrics = ef.metrics.orNull
if (ef.className == classOf[NotSerializableException].getName()) {
// If the task result wasn't serializable, there's no point in
trying to re-execute it.
- logError("Task %s:%s had a not serializable result: %s; not
retrying".format(
- taskSet.id, index, ef.description))
- abort("Task %s:%s had a not serializable result: %s".format(
- taskSet.id, index, ef.description))
+ logError("Task %s:%s (TID %d) had a not serializable result: %s;
not retrying".format(
+ taskSet.id, index, tid, ef.description))
+ abort("Task %s:%s (TID %d) had a not serializable result:
%s".format(
+ taskSet.id, index, tid, ef.description))
--- End diff --
same here
---
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.
---