pyspark.SparkContext.cancelJobGroup

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

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

New in version 1.1.0.

Parameters
groupIdstr

The group ID to cancel the job.