Github user shahidki31 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/23241#discussion_r239530668
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/ReplayListenerBus.scala ---
    @@ -118,10 +118,12 @@ private[spark] class ReplayListenerBus extends 
SparkListenerBus with Logging {
           case e: HaltReplayException =>
             // Just stop replay.
           case _: EOFException if maybeTruncated =>
    -      case _: IOException if maybeTruncated =>
    -        logWarning(s"Failed to read Spark event log: $sourceName")
           case ioe: IOException =>
    -        throw ioe
    +        if (maybeTruncated) {
    --- End diff --
    
    Yes. I think, I simplified it in one block.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to