pyspark.SparkContext.clearJobTags

SparkContext.clearJobTags() → None[source]

Clear the current thread’s job tags.

New in version 3.5.0.

Examples

>>> sc.addJobTag("job_to_cancel")
>>> sc.clearJobTags()
>>> sc.getJobTags()
set()