SparkJobProperties(String, String, Int32, String, Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SparkJobProperties.
public SparkJobProperties (string file, string driverMemory, int driverCores, string executorMemory, int executorCores, int numExecutors);
new Azure.Analytics.Synapse.Artifacts.Models.SparkJobProperties : string * string * int * string * int * int -> Azure.Analytics.Synapse.Artifacts.Models.SparkJobProperties
Public Sub New (file As String, driverMemory As String, driverCores As Integer, executorMemory As String, executorCores As Integer, numExecutors As Integer)
Parameters
- file
- String
File containing the application to execute.
- driverMemory
- String
Amount of memory to use for the driver process.
- driverCores
- Int32
Number of cores to use for the driver.
- executorMemory
- String
Amount of memory to use per executor process.
- executorCores
- Int32
Number of cores to use for each executor.
- numExecutors
- Int32
Number of executors to launch for this job.
Exceptions
file
, driverMemory
or executorMemory
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET