Skip to main content

Cluster

Properties

PropertyTypeAttributesDescription
clusterNamestringRequired, IdentifierThe name of the cluster.
nodeTypeIdstringRequiredThe node type ID for worker nodes.
sparkVersionstringRequiredThe Spark version of the cluster.
autoScaleAutoScaleAuto-scaling configuration for the cluster.
autoterminationMinutesintAuto-termination time in minutes.
azureAttributesAzureAttributesAzure-specific attributes for the cluster.
clusterCoresintRead-onlyThe number of cores in the cluster.
clusterMemoryMbintRead-onlyThe memory in MB of the cluster.
creatorUserNamestringRead-onlyThe creator username of the cluster.
dataSecurityModestringData security mode for the cluster.
driverNodeTypeIdstringThe node type ID for the driver node.
jdbcPortintRead-onlyThe JDBC port of the cluster.
numWorkersintThe number of worker nodes.
runtimeEnginestringRuntime engine for the cluster.
singleUserNamestringSingle user name for single-user clusters.
startTimeintRead-onlyThe start time of the cluster.
statestringRead-onlyThe current state of the cluster.
stateMessagestringRead-onlyThe state message of the cluster.

AutoScale

PropertyTypeAttributesDescription
maxWorkersintRequiredMaximum number of worker nodes.
minWorkersintRequiredMinimum number of worker nodes.

AzureAttributes

PropertyTypeAttributesDescription
availabilitystringAvailability type for Azure instances.
firstOnDemandintNumber of on-demand instances to use before using spot instances.
spotBidMaxPriceintMaximum price for spot instances.