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/12/10 15:28:00 UTC
[jira] [Commented] (AIRFLOW-6217) KubernetesPodOperator XCom pushes
not working
[ https://issues.apache.org/jira/browse/AIRFLOW-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992652#comment-16992652 ]
Eugene Serdyuk commented on AIRFLOW-6217:
-----------------------------------------
*UPDATE:* Got it working with kubernetes 1.16.2, but not 1.11.10.
> KubernetesPodOperator XCom pushes not working
> ---------------------------------------------
>
> Key: AIRFLOW-6217
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6217
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib, xcom
> Affects Versions: 1.10.6
> Environment: Kubernetes version: 1.11.10
> Minikube version: 1.5.2
> Airflow version: 1.10.6
> Reporter: Eugene Serdyuk
> Priority: Major
>
>
> XCom pushes don’t work with KubernetesPodOperator both when I’m using LocalExecutor and KubernetesExecutor.
> I do write a return information to the /airflow/xcom/return.json, but despite this fact it’s still an error:
>
> {code:java}
> [2019-12-06 15:12:40,116] {logging_mixin.py:112} INFO - [2019-12-06 15:12:40,116] {pod_launcher.py:217} INFO - Running command... cat /airflow/xcom/return.json
> [2019-12-06 15:12:40,201] {logging_mixin.py:112} INFO - [2019-12-06 15:12:40,201] {pod_launcher.py:224} INFO - cat: can't open '/airflow/xcom/return.json': No such file or directory{code}
>
> I've also implemented the same code that is written [here|https://github.com/apache/airflow/blob/36f3bfb0619cc78698280f6ec3bc985f84e58343/tests/contrib/minikube/test_kubernetes_pod_operator.py#L315].
> But this error still persists. In other words, this test doest not pass.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)