cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Update jobs parameter, when running, from API

Alessandro
New Contributor II

Hi, 

When a Job is running, I would like to change the parameters with an API call.

I know that I can set parameters value from API when I start a job from API, or that I can update the default value if the job isn't running, but I didn't find an API call to update parameters value mid run.

Do someone knows if it is possible with Databricks API, or I have to create a custom API?

Thank's

1 ACCEPTED SOLUTION

Accepted Solutions

Walter_C
Databricks Employee
Databricks Employee

No, there is currently no option to change parameters while the job is running, from the UI you will be able to modify them but it wont affect the current run, it will be applied on the new job runs you trigger. 

View solution in original post

2 REPLIES 2

Walter_C
Databricks Employee
Databricks Employee

No, there is currently no option to change parameters while the job is running, from the UI you will be able to modify them but it wont affect the current run, it will be applied on the new job runs you trigger. 

XueChunmei
New Contributor II

Hi, Alessandro, I am trying to set job parameters value from API when I start a job from API call within python notebook, however, it has never succeeded, the job can be triggered, but always with job parameters' default values instead values from API call. Can you help share your code example ? Or what other settings/permission are needed to achieve this ?

Thank you very much !

Chunmei