Skip to content

Commit 63142cc

Browse files
committed
Also add logics to handle other exceptions
Change-Id: Ie2bd075561e481266dc8047e2af604f4d6c83810
1 parent 10d254b commit 63142cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ private[history] class FsHistoryProvider(conf: SparkConf, clock: Clock)
334334
// every poll.
335335
logDebug(s"No permission to read $entry, ignoring.")
336336
false
337+
338+
case e: Exception =>
339+
logDebug(s"Fail to get status of $entry", e)
340+
false
337341
}
338342
}
339343
.flatMap { entry => Some(entry) }

0 commit comments

Comments
 (0)