Creates a SparkContext or derived context.
Creates a SparkContext or derived context.
the Spark Context configuration.
the context config
the name of the context to start
the newly created context.
Creates a SparkContext or derived context.
Creates a SparkContext or derived context.
the overall system / job server Typesafe Config
the config specific to this particular context
the name of the context to start
the newly created context.
Factory trait for creating a SparkContext or any derived Contexts, such as SQLContext, StreamingContext, HiveContext, etc. My implementing classes can be dynamically loaded using classloaders to ensure that the entire SparkContext has access to certain dynamically loaded classes, for example, job jars.