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

[jira] [Issue Comment Deleted] (AIRFLOW-2416) executor_config column in task_instance isn't getting created

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

Samuel Mullin updated AIRFLOW-2416:
-----------------------------------
    Comment: was deleted

(was: 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)