Skip to content

Commit b9fe504

Browse files
ryan-williamssrowen
authored andcommitted
[SPARK-6448] Make history server log parse exceptions
This helped me to debug a parse error that was due to the event log format changing recently. Author: Ryan Williams <[email protected]> Closes #5122 from ryan-williams/histerror and squashes the following commits: 5831656 [Ryan Williams] line length c3742ae [Ryan Williams] Make history server log parse exceptions
1 parent 9b1e1f2 commit b9fe504

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ private[history] class FsHistoryProvider(conf: SparkConf) extends ApplicationHis
233233
} catch {
234234
case e: Exception =>
235235
logError(
236-
s"Exception encountered when attempting to load application log ${fileStatus.getPath}")
236+
s"Exception encountered when attempting to load application log ${fileStatus.getPath}",
237+
e)
237238
None
238239
}
239240
}.toSeq.sortWith(compareAppInfo)

0 commit comments

Comments
 (0)