You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Madison (Jira)" <ji...@apache.org> on 2020/02/04 00:39:00 UTC

[jira] [Commented] (AIRFLOW-6728) Recent Tasks not loading

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

Madison commented on AIRFLOW-6728:
----------------------------------

Possible solution with `d3.json` call: https://stackoverflow.com/a/52538959/3277713

> Recent Tasks not loading
> ------------------------
>
>                 Key: AIRFLOW-6728
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6728
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ui, webserver
>    Affects Versions: 1.10.7
>            Reporter: Madison
>            Assignee: Madison
>            Priority: Major
>
> The "Recent Tasks" column of the webserver UI is blank on our production instance. This appears to be the result of the `/task_stats` request being too large: [https://ookla.d.pr/L5qleA]
> While I can't share the actual URL, the math would indicate this anyway. It appears that the URL uses a `dag_ids` parameter that is a comma separated list in the GET request. Since DAGs can have a `dag_id` length of [250 characters|[https://github.com/apache/airflow/blob/master/airflow/models/base.py#L35]] and the UI will show up to 100 DAGs per page, this means that the URL parameters alone could be 25,000 characters (not including domain, etc.). It seems that it might be best to switch this request over to POST to accommodate the potentially large request body.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)