spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wendell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-1331) Graceful shutdown of Spark Streaming computation
Date Tue, 08 Apr 2014 07:02:20 GMT

     [ https://issues.apache.org/jira/browse/SPARK-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Patrick Wendell resolved SPARK-1331.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

> Graceful shutdown of Spark Streaming computation
> ------------------------------------------------
>
>                 Key: SPARK-1331
>                 URL: https://issues.apache.org/jira/browse/SPARK-1331
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 0.9.0
>            Reporter: Tathagata Das
>            Assignee: Tathagata Das
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> Current version of StreamingContext.stop() directly kills all the data receivers (NetworkReceiver)
without waiting for the data already received to be persisted and processed. Fixing this requires
the following.
> 1. Each receiver, when it gets a stop signal from the driver, should stop receiving,
and then wait for all the received data to have been persisted and reported to the driver.
> 2. The driver, after stopping all the receivers, should wait for all the received to
be processed. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message