airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Mullin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2416) executor_config column in task_instance isn't getting created
Date Tue, 28 Aug 2018 19:21:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595484#comment-16595484
] 

Samuel Mullin commented on AIRFLOW-2416:
----------------------------------------

Worth mentioning that I came across this issue in 1.10.0 when upgrading from 1.9.0.  If anyone
else using postgres stumbles across this issue and wants to fix it manually:
{code:java}
ALTER TABLE task_instance ADD COLUMN executor_config bytea
{code}

> executor_config column in task_instance isn't getting created
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-2416
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2416
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: db
>    Affects Versions: 1.9.0
>         Environment: Running on a mac (System Version: OS X 10.11.6 (15G19009)) dev environment
with Python 3.6.
>            Reporter: Curtis Deems
>            Assignee: Cameron Moberg
>            Priority: Major
>
> There's a new column called 'executor_config' in the 'task_instance' table that the
scheduler is attempting to query.  The column isn't created with initdb or upgradedb so the
scheduler just loops and never picks up any dag objects.  The only way I discovered this
was to run the scheduler thru the debugger and review the exceptions thrown by the scheduler. 
This issue doesn't show up in the scheduler logs or any other output that I could see.
> The workaround is to create the column manually but since the root issue is not easily
discoverable this could be a blocker for some people.



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

Mime
View raw message