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

    https://github.com/apache/spark/pull/18673#discussion_r128041077
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/ReplayListenerBus.scala ---
    @@ -107,6 +107,16 @@ private[spark] class ReplayListenerBus extends 
SparkListenerBus with Logging {
             }
           }
         } catch {
    +      case eofe: EOFException =>
    +        // If the history event file is compressed and inprogress, the 
compressor will throw an
    +        // EOFException if there is not enough to decompress a proper 
frame.  This indicates
    +        // we're at the end of the file so we treat similarly to the 
JsonParseException case above.
    +        if (!maybeTruncated) {
    --- End diff --
    
    You can merge this with the case.
    
        case _: EOFException if !maybeTruncated =>
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to