pyspark.SparkContext.cancelJobGroup

SparkContext.cancelJobGroup(groupId: str) → None[source]

Cancel active jobs for the specified group. See SparkContext.setJobGroup(). for more information.