mridulm commented on code in PR #43914:
URL: https://github.com/apache/spark/pull/43914#discussion_r1399937165
##########
core/src/main/scala/org/apache/spark/deploy/history/EventLogFileReaders.scala:
##########
@@ -119,7 +119,8 @@ object EventLogFileReader extends Logging {
if (isSingleEventLog(status)) {
Some(new SingleFileEventLogFileReader(fs, status.getPath,
Option(status)))
} else if (isRollingEventLogs(status)) {
- if
(fs.listStatus(status.getPath).exists(RollingEventLogFilesWriter.isEventLogFile))
{
+ if
(fs.listStatus(status.getPath).exists(RollingEventLogFilesWriter.isEventLogFile)
&&
+
fs.listStatus(status.getPath).exists(RollingEventLogFilesWriter.isAppStatusFile))
{
Review Comment:
This will result in two `listStatus`, merge them ?
--
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]