Skip to main content

RunDatabricksJob

Description​

Triggers a pre-defined Databricks job to run with custom parameters. Job parameters can be set using dynamic properties

Tags​

databricks, jobs

Properties​

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Databricks Client *Databricks ClientController Service:
DatabricksWorkspaceClientService

Implementations:
StandardDatabricksWorkspaceClientService
Databricks Client Service.
Wait for Job Completion *Wait for Job Completiontrue
  • true
  • false
Wait for the Databricks job to complete before transferring the FlowFile to success
Job NameJob NameDatabricks Job Name
Job IDJob IDDatabricks Job ID

Dynamic Properties​

This component does not support dynamic properties.

Relationships​

NameDescription
failureDatabricks failure relationship
successDatabricks success relationship

Reads Attributes​

This processor does not read attributes.

Writes Attributes​

NameDescription
error.codeThe error code for the SQL statement if an error occurred.
error.messageThe error message for the SQL statement if an error occurred.
job.result.stateThe result state for the invoked job
job.run.idThe run id assigned to the invoked job

State Management​

This component does not store state.

Restricted​

This component is not restricted.

Input Requirement​

Input requirements are not specified for this component.

System Resource Considerations​

This component does not specify system resource considerations.

See Also​