
Databricks SubmitRun
CertifiedSubmit a Databricks run
Databricks SubmitRun
Submit a Databricks run
Submits one or more tasks as an ad-hoc run; optionally waits up to waitForCompletion for terminal state.
type: io.kestra.plugin.databricks.job.SubmitRunExamples
Submit a Databricks run and wait up to 5 minutes for its completion.
id: databricks_job_submit_run
namespace: company.team
tasks:
- id: submit_run
type: io.kestra.plugin.databricks.job.SubmitRun
host: "{{ secret('DATABRICKS_HOST') }}"
authentication:
token: "{{ secret('DATABRICKS_TOKEN') }}"
runTasks:
- existingClusterId: <your-cluster>
taskKey: pysparkTask
sparkPythonTask:
pythonFile: /Shared/hello.py
sparkPythonTaskSource: WORKSPACE
waitForCompletion: PT5M
Properties
runTasks *RequiredNon-dynamicarray
1Run tasks
Task definitions for this run; set dependsOn when multiple tasks are present
io.kestra.plugin.databricks.job.SubmitRun-RunSubmitTaskSetting
Task dependencies
List of upstream taskKeys when multiple tasks run in the same submission
Task libraries
io.kestra.plugin.databricks.job.task.LibrarySetting
io.kestra.plugin.databricks.job.task.LibrarySetting-CranSetting
io.kestra.plugin.databricks.job.task.LibrarySetting-MavenSetting
io.kestra.plugin.databricks.job.task.LibrarySetting-PypiSetting
Notebook task settings
io.kestra.plugin.databricks.job.task.NotebookTaskSetting
Map of task base parameters.
Can be a map of string/string or a variable that binds to a JSON object.
GITWORKSPACEPipeline task settings
io.kestra.plugin.databricks.job.task.PipelineTaskSetting
Python Wheel task settings
io.kestra.plugin.databricks.job.task.PythonWheelTaskSetting
Map of task named parameters.
Can be a map of string/string or a variable that binds to a JSON object.
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
Run job task settings
io.kestra.plugin.databricks.job.task.RunJobTaskSetting
Spark JAR task settings
io.kestra.plugin.databricks.job.task.SparkJarTaskSetting
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
Spark Python task settings
io.kestra.plugin.databricks.job.task.SparkPythonTaskSetting
GITWORKSPACEList of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
Spark Submit task settings
io.kestra.plugin.databricks.job.task.SparkSubmitTaskSetting
List of task parameters.
Can be a list of strings or a variable that binds to a JSON array of strings.
Task timeout (seconds)
accountId string
Databricks account identifier
authentication
Databricks authentication configuration
This property allows to configure the authentication to Databricks, different properties should be set depending on the type of authentication and the cloud provider. All configuration options can also be set using the standard Databricks environment variables. Check the Databricks authentication guide for more information.
io.kestra.plugin.databricks.AbstractTask-AuthenticationConfig
Authentication type
Azure client ID
Azure client secret
Azure tenant ID
Client ID
Client secret
Google credentials JSON
Google service account email
Password
Databricks personal access token
Username
configFile string
Databricks configuration file, use this if you don't want to configure each Databricks account properties one by one
host string
Databricks host
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
runName string
Run name
waitForCompletion string
Wait for completion
If set, waits up to the given duration (e.g., PT30M) for the run to finish
Outputs
runId integer
Run identifier
runURI string
uriRun console URI