You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/10 14:56:52 UTC

[GitHub] [airflow] yavuzmester removed a comment on issue #17507: Task processes killed with WARNING - Recorded pid does not match the current pid

yavuzmester removed a comment on issue #17507:
URL: https://github.com/apache/airflow/issues/17507#issuecomment-916909875


   I also got the same error and I am using `run_as_user`.
   I tried changing the BashOperator to PythonOperator and it worked for me. 
   In detail:
   
   - Create a function that runs your bash things (e.g. for me it was a bash script, I called the script using subprocess.Popen in this function.)
   - Specify that function in the `python_callable` argument of the PythonOperator.
   
   Hope that helps.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org