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

[jira] [Commented] (AIRFLOW-3526) Error is thrown while converting Lables to Key in K8 executor

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

Chengzhi Zhao commented on AIRFLOW-3526:
----------------------------------------

We did upgrade to 1.10.1, we are also using k8s executor had a similar issue. We had to rollback to 1.10.0. I was wondering if it is related to [https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/kubernetes/worker_configuration.py#L219-L224] which missing `try_number`

> Error is thrown while converting Lables to Key in K8 executor
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-3526
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3526
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executor, kubernetes, scheduler
>    Affects Versions: 1.10.1
>            Reporter: raman
>            Priority: Major
>
> Following error is thrown continuously  in 
> _labels_to_key(self, labels) functon in kubernetes_executor
> {kubernetes_executor.py:455} WARNING - Error while converting labels to key; labels: {u'execution_date': '2018-12-11T00_00_00_plus_00_00', u'airflow-worker': 'ba2dfe4e-d503-490f-ad49-60d7f48efeb6', u'task_id': 'test_task_1', u'dag_id': 'perf_test_500_10_92'}; exception: 'try_number'



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