airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zgl (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AIRFLOW-1665) Airflow webserver/scheduler don't handle database disconnects (mysql)
Date Thu, 01 Feb 2018 17:16:00 GMT

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

zgl reassigned AIRFLOW-1665:
----------------------------

    Assignee: zgl  (was: Vasanth Kumar)

> Airflow webserver/scheduler don't handle database disconnects (mysql)
> ---------------------------------------------------------------------
>
>                 Key: AIRFLOW-1665
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1665
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: Airflow 1.8
>            Reporter: Vasanth Kumar
>            Assignee: zgl
>            Priority: Major
>              Labels: database, reconnect
>             Fix For: 1.9.1
>
>
> Airflow webserver & scheduler don't handle database disconnects.  The process appear
to error out and either exit or are left in an off state.  This was observed when using mysql.
> I don't see any database reconnect configuration or code.
> Stack tace for scheduler:
>   File "...../MySQLdb/connections.py", line 204, in __init__
>     super(Connection, self).__init__(*args, **kwargs2)
> sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (2002, "Can't connect
to local MySQL server through socket '/tmp/mysql.sock' (2)")



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

Mime
View raw message