Skip to content
Snippets Groups Projects
  • Ewen Cheslack-Postava's avatar
    56d230e6
    Add classmethod to SparkContext to set system properties. · 56d230e6
    Ewen Cheslack-Postava authored
    Add a new classmethod to SparkContext to set system properties like is
    possible in Scala/Java. Unlike the Java/Scala implementations, there's
    no access to System until the JVM bridge is created. Since
    SparkContext handles that, move the initialization of the JVM
    connection to a separate classmethod that can safely be called
    repeatedly as long as the same instance (or no instance) is provided.
    56d230e6
    History
    Add classmethod to SparkContext to set system properties.
    Ewen Cheslack-Postava authored
    Add a new classmethod to SparkContext to set system properties like is
    possible in Scala/Java. Unlike the Java/Scala implementations, there's
    no access to System until the JVM bridge is created. Since
    SparkContext handles that, move the initialization of the JVM
    connection to a separate classmethod that can safely be called
    repeatedly as long as the same instance (or no instance) is provided.