Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4986

Graceful shutdown for Spark Streaming does not work in Standalone cluster mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.2.0
    • 1.2.2, 1.3.0
    • DStreams
    • None

    Description

      When using the graceful stop API of Spark Streaming in Spark Standalone cluster the stop signal never reaches the receivers. I have tested this with Spark 1.2 and Kafka receivers.

      ReceiverTracker will send StopReceiver message to ReceiverSupervisorImpl.
      In local mode ReceiverSupervisorImpl receives this message but in Standalone cluster mode the message seems to be lost.

      (I have modified the code to send my own string message as a stop signal from ReceiverTracker to ReceiverSupervisorImpl and it works as a workaround.)

      Attachments

        Issue Links

          Activity

            People

              koudelka Jesper Lundgren
              koudelka Jesper Lundgren
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: