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.
The default factory creates a standard SparkContext. In the future if we want to add additional methods, etc. then we can have additional factories. For example a specialized SparkContext to manage RDDs in a user-defined way.
If you create your own SparkContextFactory, please make sure it has zero constructor args.