az synapse spark session
Manage Synapse Spark sessions.
Commands
Name | Description | Type | Status |
---|---|---|---|
az synapse spark session cancel |
Cancel a Spark session. |
Core | GA |
az synapse spark session create |
Create a Spark session. |
Core | GA |
az synapse spark session list |
List all Spark sessions. |
Core | GA |
az synapse spark session reset-timeout |
Reset a Spark session timeout time. |
Core | GA |
az synapse spark session show |
Get a Spark session. |
Core | GA |
az synapse spark session cancel
Cancel a Spark session.
az synapse spark session cancel --livy-id
--spark-pool-name
--workspace-name
[--yes]
Examples
Cancel a Spark session.
az synapse spark session cancel --livy-id 1 --workspace-name testsynapseworkspace --spark-pool-name testsparkpool
Required Parameters
The id of the Spark session job.
The name of the Spark pool.
The name of the workspace.
Optional Parameters
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az synapse spark session create
Create a Spark session.
az synapse spark session create --executor-size {Large, Medium, Small}
--executors
--name
--spark-pool-name
--workspace-name
[--configuration]
[--reference-files]
[--tags]
Examples
Create a Spark session.
az synapse spark session create --name testsession --workspace-name testsynapseworkspace \
--spark-pool-name testsparkpool --executor-size Small --executors 4
Required Parameters
The executor size.
The number of executors.
The Spark session name.
The name of the Spark pool.
The name of the workspace.
Optional Parameters
The configuration of Spark session.
Additional files used for reference in the main definition file.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az synapse spark session list
List all Spark sessions.
az synapse spark session list --spark-pool-name
--workspace-name
[--from-index]
[--size]
Examples
List all Spark sessions.
az synapse spark session list --workspace-name testsynapseworkspace --spark-pool-name testsparkpool
Required Parameters
The name of the Spark pool.
The name of the workspace.
Optional Parameters
Optional parameter specifying which index the list should begin from.
The size of the returned list.By default it is 20 and that is the maximum.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az synapse spark session reset-timeout
Reset a Spark session timeout time.
az synapse spark session reset-timeout --livy-id
--spark-pool-name
--workspace-name
Examples
Reset a Spark session's timeout time.
az synapse spark session reset-timeout --livy-id 1 --workspace-name testsynapseworkspace --spark-pool-name testsparkpool
Required Parameters
The id of the Spark session job.
The name of the Spark pool.
The name of the workspace.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az synapse spark session show
Get a Spark session.
az synapse spark session show --livy-id
--spark-pool-name
--workspace-name
Examples
Get a Spark session.
az synapse spark session show --livy-id 1 --workspace-name testsynapseworkspace --spark-pool-name testsparkpool
Required Parameters
The id of the Spark session job.
The name of the Spark pool.
The name of the workspace.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.