Skip to content

SparkContext

SparkContext is a Python class.

JavaGateway

SparkContext defines _gateway property for a JavaGateway that is given or launched when _ensure_initialized.

JVMView

SparkContext defines _jvm property for a JVMView (py4j) to access to the Java Virtual Machine of the JavaGateway.

_ensure_initialized

_ensure_initialized(
  cls, instance=None,
  gateway=None,
  conf=None)

_ensure_initialized is a @classmethod.

_ensure_initialized...FIXME

_ensure_initialized is used when:


Last update: 2021-02-22