dongjoon-hyun commented on code in PR #36832:
URL: https://github.com/apache/spark/pull/36832#discussion_r894749928


##########
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:
   If Spark checks the final location, we can remove this warning.
   > ... The application may be completed during processing.
   
   And, if Spark cannot find the log file at the final locations, it could be 
removed by the users instead of `completed`.



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