Skip to content
This repository was archived by the owner on Feb 13, 2022. It is now read-only.

raksit31667/azure-devops-databricks-rest-api

Folders and files

NameName
Last commit message
Last commit date
Sep 18, 2020
Oct 9, 2020
Apr 15, 2021
Apr 15, 2021
Oct 9, 2020
Sep 18, 2020
Oct 8, 2020
Apr 15, 2021
Jan 14, 2021
Dec 22, 2020
Sep 18, 2020
Sep 20, 2020
Sep 18, 2020
Apr 15, 2021

Repository files navigation

Azure DevOps Databricks REST API

actions

Azure Databricks

Introduction

This repository contains an Azure DevOps extension for interacting with Azure Databricks via REST API. It supports Databricks management on clusters, jobs, and instance pools.

You may find this extension useful when:

  • You are running Spark (structured) streaming jobs attached to automated clusters.
  • You are leveraging instance pools for fast startup time and scalability.

You may find this extension useless when:

  • You are running Spark jobs on an interactive clusters, or running on scheduled manner.
  • You are running jobs via Jupyter notebooks.

Getting started

- task: VerifyAllDatabricksJobRunning@1
displayName: Verify Databricks jobs
inputs:
    jobs: '<your-job-name-here>'
    region: 'your-region-here>'
    accessToken: '<your-databricks-access-token>'

Note that every task requires region and access token. You can find a region from your Databricks workspace URL (e.g. https://southcentralus.azuredatabricks.net/?o=0000000). For access token, you can generate via User Settings, see an instruction https://docs.databricks.com/dev-tools/api/latest/authentication.html.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT