pyspark.SparkContext.cancelAllJobs# SparkContext.cancelAllJobs()[source]# Cancel all jobs that have been scheduled or are running. New in version 1.1.0. See also SparkContext.cancelJobGroup() SparkContext.cancelJobsWithTag() SparkContext.runJob()