HeartSaVioR commented on a change in pull request #30037:
URL: https://github.com/apache/spark/pull/30037#discussion_r504652289



##########
File path: 
core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala
##########
@@ -538,6 +538,9 @@ private[history] class FsHistoryProvider(conf: SparkConf, 
clock: Clock)
                 reader.fileSizeForLastIndex > 0
               } catch {
                 case _: FileNotFoundException => false
+                case NonFatal(e) =>

Review comment:
       I roughly remember this was pointed out earlier, but we wanted more 
elegant code and during finding we forgot the actual issue. Happy to see it 
fixed finally.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to