matlab.compiler.mlspark.SparkConf Class
Namespace: matlab.compiler.mlspark
Superclasses:
Interface class to configure an application with Spark parameters as key-value pairs
Description
A SparkConf
object stores the configuration
parameters of the application being deployed to Spark™. Every
application must be configured prior to deployment on a Spark cluster.
The configuration parameters are passed onto a Spark cluster
through a SparkContext
.
Construction
creates a conf
= matlab.compiler.mlspark.SparkConf('AppName',name
,'Master',url
,'SparkProperties',prop
)SparkConf
object with
the specified configuration parameters.
creates a conf
=
matlab.compiler.mlspark.SparkConf(___,Name,Value
)SparkConf
object with additional configuration
parameters specified by one or more Name,Value pair arguments. Name
is
a property name of the class and Value
is the corresponding
value. Name
must appear inside single quotes (''
).
You can specify several name-value pair arguments in any order as Name1,Value1,...,NameN,ValueN
.
Input Arguments
Name-Value Arguments
Properties
The properties of this class are hidden.
Methods
There are no user executable methods for this class.
Examples
More About
References
See the latest Spark documentation for more information.
Version History
Introduced in R2016b