Skip to content

Commit

Permalink
indent. include header for driver stack trace.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Apr 15, 2014
1 parent 018b06b commit 3e4eb65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ private[spark] class TaskSetManager(
}
val key = ef.description
failureReason = "Exception failure in TID %s on host %s: %s\n%s".format(
tid, info.host, ef.description, ef.stackTrace.mkString("\n"))
tid, info.host, ef.description, ef.stackTrace.map(" " + _).mkString("\n"))
val now = clock.getTime()
val (printFull, dupCount) = {
if (recentExceptions.contains(key)) {
Expand Down Expand Up @@ -582,7 +582,7 @@ private[spark] class TaskSetManager(
if (numFailures(index) >= maxTaskFailures) {
logError("Task %s:%d failed %d times; aborting job".format(
taskSet.id, index, maxTaskFailures))
abort("Task %s:%d failed %d times, most recent failure: %s".format(
abort("Task %s:%d failed %d times, most recent failure: %s\nDriver stacktrace:".format(
taskSet.id, index, maxTaskFailures, failureReason))
return
}
Expand Down

0 comments on commit 3e4eb65

Please sign in to comment.