Airflow - Unknown Blue Task Status

血红的双手。 提交于 2019-12-10 15:14:28

问题


I just got a task colored in Blue which doesn't appear in the status legend. I'm curious if this is a bug or an undocumented status.

As you can see the color blue doesn't show up in the list of potential statuses on the right. I had just finished clearing all past, future, and upstream attempts fyi.


回答1:


That's a known TaskInstance State; it's just not on the UI -- it stands for shutdown: https://github.com/apache/incubator-airflow/blob/master/airflow/utils/state.py#L70

Other statuses that don't appear on the upper right hand side include:

UPSTREAM_FAILED: 'orange'
REMOVED: 'lightgrey'
SCHEDULED: 'tan'



回答2:


Clearing a running task will often result in this color for a terminated/killed process. You just need to clear the task one additional time to reset it.



来源:https://stackoverflow.com/questions/50826900/airflow-unknown-blue-task-status

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!