You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2018/08/29 07:27:00 UTC

[jira] [Resolved] (AIRFLOW-2709) Improve error handling in Databricks hook

     [ https://issues.apache.org/jira/browse/AIRFLOW-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fokko Driesprong resolved AIRFLOW-2709.
---------------------------------------
    Resolution: Fixed

> Improve error handling in Databricks hook
> -----------------------------------------
>
>                 Key: AIRFLOW-2709
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2709
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib, hooks
>            Reporter: Victor Jimenez
>            Priority: Major
>
> The Databricks hook handles both connection and timeout errors. However, Databricks sometimes returns a temporarily unavailable error. That error is neither a connection nor timeout one. It is just an HTTPError containing the following text in the response: TEMPORARILY_UNAVAILABLE. The current error handling in the hook should be enhanced to support this error.
> Also, the Databricks hook contains retry logic. Yet, it does not support sleeping for some time between requests. This creates a problem in handling errors such as the TEMPORARILY_UNAVAILABLE one. This error typically resolves after a few seconds. Adding support for sleeping between retry attempts would really help to enhance the reliability of Databricks operations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)