BashOperator doen't run bash file apache airflow

后端 未结 3 794
猫巷女王i
猫巷女王i 2020-12-16 23:40

I just started using apache airflow. I am trying to run test.sh file from airflow, however it is not work.

Following is my code, file name is test.py



        
3条回答
  •  悲&欢浪女
    2020-12-17 00:16

    use just the script path, without "sh": create_command = "/home/ubuntu/test/inst/scripts/test.sh"

    also make sure that "airflow" user has permissions to execute "test.sh" script.

提交回复
热议问题