Skip to content

Commit 832a7f4

Browse files
committed
Address review comment
1 parent 5142517 commit 832a7f4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,9 @@ class StreamingContext private[streaming] (
473473
* Stop the execution of the streams immediately (does not wait for all received data
474474
* to be processed).
475475
*
476-
* @param stopSparkContext if true, stops the associated SparkContext. The SparkContext will be
477-
* stopped regardless of whether this StreamingContext has been started.
476+
* @param stopSparkContext if true, stops the associated SparkContext. The underlying SparkContext
477+
* will be stopped regardless of whether this StreamingContext has been
478+
* started.
478479
*/
479480
def stop(stopSparkContext: Boolean = true): Unit = synchronized {
480481
stop(stopSparkContext, false)
@@ -484,8 +485,9 @@ class StreamingContext private[streaming] (
484485
* Stop the execution of the streams, with option of ensuring all received data
485486
* has been processed.
486487
*
487-
* @param stopSparkContext if true, stops the associated SparkContext. The SparkContext will be
488-
* stopped regardless of whether this StreamingContext has been started.
488+
* @param stopSparkContext if true, stops the associated SparkContext. The underlying SparkContext
489+
* will be stopped regardless of whether this StreamingContext has been
490+
* started.
489491
* @param stopGracefully if true, stops gracefully by waiting for the processing of all
490492
* received data to be completed
491493
*/

0 commit comments

Comments
 (0)