diff options
author | Holden Karau <holden@pigscanfly.ca> | 2014-10-21 09:37:17 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-10-21 09:37:17 -0700 |
commit | 2aeb84bc79b643912d26e08ec2d87e444027fefc (patch) | |
tree | 5d06d2a533f16bc2e21fa7f88524589c0186cbdd /python | |
parent | 85708168341a9406c451df20af3374c0850ce166 (diff) | |
download | spark-2aeb84bc79b643912d26e08ec2d87e444027fefc.tar.gz spark-2aeb84bc79b643912d26e08ec2d87e444027fefc.tar.bz2 spark-2aeb84bc79b643912d26e08ec2d87e444027fefc.zip |
replace awaitTransformation with awaitTermination in scaladoc/javadoc
Author: Holden Karau <holden@pigscanfly.ca>
Closes #2861 from holdenk/SPARK-4015-Documentation-in-the-streaming-context-references-non-existent-function and squashes the following commits:
081db8a [Holden Karau] fix pyspark streaming doc too
0e03863 [Holden Karau] replace awaitTransformation with awaitTermination
Diffstat (limited to 'python')
-rw-r--r-- | python/pyspark/streaming/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/streaming/context.py b/python/pyspark/streaming/context.py index dc9dc41121..2f53fbd27b 100644 --- a/python/pyspark/streaming/context.py +++ b/python/pyspark/streaming/context.py @@ -79,7 +79,7 @@ class StreamingContext(object): L{DStream} various input sources. It can be from an existing L{SparkContext}. After creating and transforming DStreams, the streaming computation can be started and stopped using `context.start()` and `context.stop()`, - respectively. `context.awaitTransformation()` allows the current thread + respectively. `context.awaitTermination()` allows the current thread to wait for the termination of the context by `stop()` or by an exception. """ _transformerSerializer = None |