Francesco Mucio created AIRFLOW-5857:
----------------------------------------
Summary: Add a get_job_state in the Databricks hook
Key: AIRFLOW-5857
URL: https://issues.apache.org/jira/browse/AIRFLOW-5857
Project: Apache Airflow
Issue Type: New Feature
Components: contrib, hooks
Affects Versions: 1.10.6
Reporter: Francesco Mucio
In order to create a sensor able to monitor the status of a Spark job using the
Databricks API, we need to add a method in the [Databricks
hook|https://github.com/apache/airflow/blob/master/airflow/contrib/hooks/databricks_hook.py]
to return the state.
Also the RunState class needs to be modifies with a new property is_running.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)