az synapse spark pool
Manage Spark pools.
Commands
Name | Description | Type | Status |
---|---|---|---|
az synapse spark pool create |
Create a Spark pool. |
Core | GA |
az synapse spark pool delete |
Delete a Spark pool. |
Core | GA |
az synapse spark pool list |
List all Spark pools. |
Core | GA |
az synapse spark pool show |
Get a Spark pool. |
Core | GA |
az synapse spark pool update |
Update the Spark pool. |
Core | GA |
az synapse spark pool wait |
Place the CLI in a waiting state until a condition of a Spark pool is met. |
Core | GA |
az synapse spark pool create
Create a Spark pool.
az synapse spark pool create --name
--node-count
--node-size {Large, Medium, None, Small, XLarge, XXLarge, XXXLarge}
--resource-group
--spark-version
--workspace-name
[--delay]
[--enable-auto-pause {false, true}]
[--enable-auto-scale {false, true}]
[--enable-dynamic-exec {false, true}]
[--max-executors]
[--max-node-count]
[--min-executors]
[--min-node-count]
[--no-wait]
[--node-size-family {HardwareAcceleratedFPGA, HardwareAcceleratedGPU, MemoryOptimized, None}]
[--spark-config-file-path]
[--spark-events-folder]
[--spark-log-folder]
[--tags]
Examples
Create a Spark pool.
az synapse spark pool create --name testpool --workspace-name testsynapseworkspace --resource-group rg \
--spark-version 2.4 --node-count 3 --node-size Medium --spark-config-file-path 'path/configfile.txt'
Required Parameters
The name of the Spark pool.
The number of node.
Property | Value |
---|---|
Parameter group: | Node Arguments |
The level of compute power that each node in the Big Data pool has..
Property | Value |
---|---|
Parameter group: | Node Arguments |
Accepted values: | Large, Medium, None, Small, XLarge, XXLarge, XXXLarge |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The supported Spark version is 2.4 now.
Property | Value |
---|---|
Parameter group: | Component Version Arguments |
The workspace name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The delay time whose unit is minute.
Property | Value |
---|---|
Parameter group: | AutoPause Arguments |
The flag of enabling auto pause.
Property | Value |
---|---|
Parameter group: | AutoPause Arguments |
Accepted values: | false, true |
The flag of enabling auto scale.
Property | Value |
---|---|
Parameter group: | AutoScale Arguments |
Accepted values: | false, true |
Indicates whether Dynamic Executor Allocation is enabled or not.
Property | Value |
---|---|
Parameter group: | DynamicExecutor Arguments |
Accepted values: | false, true |
The maximum number of executors alloted.
Property | Value |
---|---|
Parameter group: | DynamicExecutor Arguments |
The max node count.
Property | Value |
---|---|
Parameter group: | AutoScale Arguments |
The minimum number of executors alloted.
Property | Value |
---|---|
Parameter group: | DynamicExecutor Arguments |
The min node count.
Property | Value |
---|---|
Parameter group: | AutoScale Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
The kind of nodes that the Big Data pool provides.
Property | Value |
---|---|
Parameter group: | Node Arguments |
Default value: | MemoryOptimized |
Accepted values: | HardwareAcceleratedFPGA, HardwareAcceleratedGPU, MemoryOptimized, None |
Absolute path of Spark pool properties configuration file.
Property | Value |
---|---|
Parameter group: | Environment Configuration Arguments |
The Spark events folder.
Property | Value |
---|---|
Parameter group: | Default Folder Arguments |
Default value: | /events |
The default Spark log folder.
Property | Value |
---|---|
Parameter group: | Default Folder Arguments |
Default value: | /logs |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark pool delete
Delete a Spark pool.
az synapse spark pool delete [--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
[--workspace-name]
[--yes]
Examples
Delete a Spark pool.
az synapse spark pool delete --name testpool --workspace-name testsynapseworkspace --resource-group rg
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the Spark pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The workspace name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark pool list
List all Spark pools.
az synapse spark pool list --resource-group
--workspace-name
Examples
List all Spark pools.
az synapse spark pool list --workspace-name testsynapseworkspace --resource-group rg
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The workspace name.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark pool show
Get a Spark pool.
az synapse spark pool show [--ids]
[--name]
[--resource-group]
[--subscription]
[--workspace-name]
Examples
Get a Spark pool.
az synapse spark pool show --name testpool --workspace-name testsynapseworkspace --resource-group rg
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the Spark pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The workspace name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark pool update
Update the Spark pool.
az synapse spark pool update [--delay]
[--enable-auto-pause {false, true}]
[--enable-auto-scale {false, true}]
[--enable-dynamic-exec {false, true}]
[--force {false, true}]
[--ids]
[--library-requirements]
[--max-executors]
[--max-node-count]
[--min-executors]
[--min-node-count]
[--name]
[--no-wait]
[--node-count]
[--node-size {Large, Medium, None, Small, XLarge, XXLarge, XXXLarge}]
[--package]
[--package-action {Add, Remove}]
[--resource-group]
[--spark-config-file-path]
[--subscription]
[--tags]
[--workspace-name]
Examples
Update the Spark pool's tags.
az synapse spark pool update --name testpool --workspace-name testsynapseworkspace --resource-group rg \
--tags key1=value1
Update the Spark pool's auto scale configuration.
az synapse spark pool update --name testpool --workspace-name testsynapseworkspace --resource-group rg \
--enable-auto-scale --min-node-count 3 --max-node-count 100
Update the Spark pool's custom libraries.
az synapse spark pool update --name testpool --workspace-name testsynapseworkspace --resource-group rg \
--package-action Add --package package1.jar package2.jar
Update the Spark pool's configuration file.
az synapse spark pool update --name testpool --workspace-name testsynapseworkspace --resource-group rg \
--spark-config-file-path 'path/configfile.txt'
Update the Spark pool's dynamic executor allocation configuration.
az synapse spark pool update --name testpool --workspace-name testsynapseworkspace --resource-group rg \
--enable-dynamic-exec --min-executors 3 --max-executors 10
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The delay time whose unit is minute.
Property | Value |
---|---|
Parameter group: | AutoPause Arguments |
The flag of enabling auto pause.
Property | Value |
---|---|
Parameter group: | AutoPause Arguments |
Accepted values: | false, true |
The flag of enabling auto scale.
Property | Value |
---|---|
Parameter group: | AutoScale Arguments |
Accepted values: | false, true |
Indicates whether Dynamic Executor Allocation is enabled or not.
Property | Value |
---|---|
Parameter group: | DynamicExecutor Arguments |
Accepted values: | false, true |
The flag of force operation.
Property | Value |
---|---|
Default value: | False |
Accepted values: | false, true |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The library requirements file.
Property | Value |
---|---|
Parameter group: | Environment Configuration Arguments |
The maximum number of executors alloted.
Property | Value |
---|---|
Parameter group: | DynamicExecutor Arguments |
The max node count.
Property | Value |
---|---|
Parameter group: | AutoScale Arguments |
The minimum number of executors alloted.
Property | Value |
---|---|
Parameter group: | DynamicExecutor Arguments |
The min node count.
Property | Value |
---|---|
Parameter group: | AutoScale Arguments |
The name of the Spark pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
The number of node.
Property | Value |
---|---|
Parameter group: | Node Arguments |
The level of compute power that each node in the Big Data pool has..
Property | Value |
---|---|
Parameter group: | Node Arguments |
Accepted values: | Large, Medium, None, Small, XLarge, XXLarge, XXXLarge |
List of workspace packages name.
Property | Value |
---|---|
Parameter group: | Custom Libraries Arguments |
Package action must be specified when you add or remove a workspace package from a Apache Spark pool.
Property | Value |
---|---|
Parameter group: | Custom Libraries Arguments |
Accepted values: | Add, Remove |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Absolute path of Spark pool properties configuration file.
Property | Value |
---|---|
Parameter group: | Environment Configuration Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The workspace name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark pool wait
Place the CLI in a waiting state until a condition of a Spark pool is met.
az synapse spark pool wait --big-data-pool-name
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
[--workspace-name]
Required Parameters
Big Data pool name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
The workspace name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |