3

I am using Azure Devops to deploy Databricks Notebooks. I have installed two extensions, as shown in the image.

enter image description here

The first extension ' Databricks Deploy Notebooks' successfully deploys a notebook to Databricks. However, the second extension 'Execute Databricks Notebook' fail's with the error:

Unable to locate executable file: 'databricks'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.

Any thoughts on what I might be doing wrong?

2
  • 1
    have you tried adding the "Configure Databricks CLI" task before "Execute"? Commented Nov 7, 2019 at 15:22
  • @Daniel, I just about to submit my own answer to say exactly you suggested fixed the issue. Yes, adding "Configure Databricks CLI" task before "Execute" executed the task successfully. Thanks Commented Nov 7, 2019 at 16:19

1 Answer 1

4

As was suggested by Daniel, I needed to add the extension "Configure Databricks CLI" task before "Execute". After adding the extension before "Execute" the task completed successfully.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.