Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ private[sql] case class InsertIntoFSBasedRelation(
writerContainer.commitJob()
relation.refresh()
} catch { case cause: Throwable =>
logError("Aborting job.", cause)
writerContainer.abortJob()
throw new SparkException("Job aborted.", cause)
}
Expand All @@ -143,6 +144,7 @@ private[sql] case class InsertIntoFSBasedRelation(
}
writerContainer.commitTask()
} catch { case cause: Throwable =>
logError("Aborting task.", cause)
writerContainer.abortTask()
throw new SparkException("Task failed while writing rows.", cause)
}
Expand Down