pyspark.SparkContext.cancelAllJobs

SparkContext。 cancelAllJobs ( )→没有

取消所有的工作计划或正在运行。