com.datastax.spark.connector.embedded
Default configuration for SparkContext.
Obtains the active SparkContext object.
Ensures that the currently running SparkContext uses the provided configuration.
Ensures that the currently running SparkContext uses the provided
configuration. If the configurations are different or force is true
Spark context is stopped and
started again with the given configuration.