airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-5182) "KubernetesOperator" isn't implemented
Date Thu, 22 Aug 2019 14:45:01 GMT

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

ASF subversion and git services commented on AIRFLOW-5182:
----------------------------------------------------------

Commit f9d0db7e53d2a97cc808f024a443605038ac04fc in airflow's branch refs/heads/v1-10-test
from Leah E. Cole
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=f9d0db7 ]

[AIRFLOW-5182] remove unused incorrect import (#5867)

(cherry picked from commit c1bb60f542054a6dd6bc7332712020fc375ef140)


> "KubernetesOperator" isn't implemented
> --------------------------------------
>
>                 Key: AIRFLOW-5182
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5182
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.10.3, 1.10.4
>            Reporter: Esfahan
>            Assignee: Leah
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> h2. Problem
> I encountered the following error with `KubernetesOperator`.
> {code:java}
> Broken DAG: [/root/airflow/dags/sample_k8s.py] cannot import name KubernetesOperator
> {code}
> h2. Investigation
> The following document is written a sample code to describe how to use Kubernetes Executor.
>  [https://airflow.apache.org/kubernetes.html#kubernetes-operator]
> There is a line `import KubernetesOperator`, but I think it isn't implemented on airflow
and it isn't used in this script.
> {code:java}
> from airflow.contrib.operators import KubernetesOperator
> {code}
> I couldn't find `KubernetesOperator` in the following dirs.
>  * [https://github.com/apache/airflow/tree/1.10.4/airflow/contrib/operators]
>  * [https://github.com/apache/airflow/tree/1.10.4/airflow/operators]
> Could you check it?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message