All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.spark.EvilSparkContext.scala Maven / Gradle / Ivy

The newest version!
package org.apache.spark

/**
 * Access Spark internals.
 */
object EvilSparkContext {
  def stopActiveSparkContext(): Unit = {
    SparkContext.getActive.foreach(_.stop())
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy