pan3793 commented on code in PR #36832:
URL: https://github.com/apache/spark/pull/36832#discussion_r894755308


##########
core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala:
##########
@@ -747,6 +747,10 @@ private[history] class FsHistoryProvider(conf: SparkConf, 
clock: Clock)
         listing.synchronized {
           listing.delete(classOf[LogInfo], rootPath.toString)
         }
+      case _: FileNotFoundException
+          if reader.rootPath.getName.endsWith(EventLogFileWriter.IN_PROGRESS) 
=>
+        logInfo(s"In-progress file does not exist: ${reader.rootPath}. The 
application may be " +
+          "completed during processing.")

Review Comment:
   The idea sounds good. If the final file exists, we can 1) do nothing and let 
it be processed by the next round, or 2) recover the process. I think you mean 
option 1?



-- 
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.

To unsubscribe, e-mail: [email protected]

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