You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Eugene Serdyuk (Jira)" <ji...@apache.org> on 2019/11/20 12:09:00 UTC
[jira] [Updated] (AIRFLOW-6019) KubernetesExecutor iteritems()
exception when using Python 3.*
[ https://issues.apache.org/jira/browse/AIRFLOW-6019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Serdyuk updated AIRFLOW-6019:
------------------------------------
Description:
When running scheduler using {{KubernetesExecutor}} with Python 3.7 the exception occurs due to the use of {{iteritems()}} within dictionaries.
{{iteritems()}} found:
- {{airflow/executors/kubernetes_executor.py}} line 277
- {{airflow/executors/kubernetes_executor.py}} line 655
TODO: use {{six.iteritems}} function.
was:
When running scheduler using `KubernetesExecutor` with Python 3.7 the exception occurs due to the use of `iteritems()` within dictionaries.
`iteritems()` found:
- airflow/executors/kubernetes_executor.py line 277
- airflow/executors/kubernetes_executor.py line 655
TODO: use six.iteritems function.
> KubernetesExecutor iteritems() exception when using Python 3.*
> --------------------------------------------------------------
>
> Key: AIRFLOW-6019
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6019
> Project: Apache Airflow
> Issue Type: Bug
> Components: executor-kubernetes, executors
> Affects Versions: 1.10.6
> Reporter: Eugene Serdyuk
> Assignee: Eugene Serdyuk
> Priority: Blocker
> Labels: kubernetes
> Attachments: logs.txt
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> When running scheduler using {{KubernetesExecutor}} with Python 3.7 the exception occurs due to the use of {{iteritems()}} within dictionaries.
> {{iteritems()}} found:
> - {{airflow/executors/kubernetes_executor.py}} line 277
> - {{airflow/executors/kubernetes_executor.py}} line 655
>
> TODO: use {{six.iteritems}} function.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)