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

    https://github.com/apache/spark/pull/16451#discussion_r94564561
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceiverSupervisorImpl.scala
 ---
    @@ -175,6 +175,12 @@ private[streaming] class ReceiverSupervisorImpl(
       }
     
       override protected def onStop(message: String, error: Option[Throwable]) 
{
    +    receivedBlockHandler match {
    +      case handler: WriteAheadLogBasedBlockHandler =>
    +        // Write ahead log should be closed.
    +        handler.stop()
    --- End diff --
    
    It seems closing write ahead log is missed. This causes the test failure in 
`org.apache.spark.streaming.kafka.ReliableKafkaStreamSuite`.


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