Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.streaming.StreamingContext.awaitTermination
¶
StreamingContext.
awaitTermination
(
timeout
=
None
)
[source]
¶
Wait for the execution to stop.
Parameters
timeout
int, optional
time to wait in seconds
pyspark.streaming.StreamingContext.addStreamingListener
pyspark.streaming.StreamingContext.awaitTerminationOrTimeout