StreamingContext.
getActive
Return either the currently active StreamingContext (i.e., if there is a context started but not stopped) or None.
previous
pyspark.streaming.StreamingContext.checkpoint
next
pyspark.streaming.StreamingContext.getActiveOrCreate