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

    https://github.com/apache/spark/pull/247#discussion_r11227580
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala ---
    @@ -430,12 +448,27 @@ class StreamingContext private[streaming] (
       /**
        * Stop the execution of the streams.
        * @param stopSparkContext Stop the associated SparkContext or not
    +   * @param stopGracefully Stop gracefully by waiting for the processing 
of all
    +   *                       received data to be completed
        */
    -  def stop(stopSparkContext: Boolean = true) = synchronized {
    -    scheduler.stop()
    +  def stop(
    --- End diff --
    
    This is a compile API change right? I.e. if someone compiled against the 
old stop() it will fail... we could fix this by implementing another function. 
Or maybe we just punt on it for 1.0.


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

Reply via email to