SparkContext.cancelJobsWithTag(tag)[source]#

Cancel active jobs that have the specified tag. See SparkContext.addJobTag().

New in version 3.5.0.

Parameters
tagstr

The tag to be cancelled. Cannot contain ‘,’ (comma) character.