airflow.exceptions.AirflowException: Bash command failed #19288
Unanswered
Amazingzzl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[2021-10-28 15:58:32,736] (bash_operator.py:113) INFO -Tmp dir root location:
/tmp
[2021-10-28 15:58:32,738] (bash _operator,py:136) INFO - Temporary script location:
/tmp/airflowtmp1f2ivwff/Clone_repob09km84
[2021-10-28 15:58:32,738] (bash operator.py:146) INFO - Running command: git clone https://****** /opt/tmp/landing/
[2021-10-28 15:58:32,744] (bash operator.py:153) INFO - Output:
[2021-10-28 15:58:32,752] (bash _operator,py:157) INFO - Cloning into */opt/tmp/landing'
[2021-10-28 15:58:32,780] (bash_operator.py:157) INFO - Error reading command stream
[2021-10-28 15:58:32,781] (bash _operator.py:161) INFO - Command exited with return code 141
[2021-10-28 15:58:32,806] (taskinstance,py:1150) ERROR - Bash command failed
Traceback (most recent call last):
File"/usr/local/lib/python3.6/site-packages/airflow/models/taskinstance.py",.line984,in_runrawtask
result = task copy.execute(context=context)
File"/ust/local/lib/python3.6/site-packages/airflow/operators/bash_operator.py",line165,in execute
raise AinflowException("Bash command failed")
airflow.exceptions.AirflowException: Bash command failed
above is exception error, after we deploy the airflow on workload, we trigger a DAG on airflow which doing the git clone
from our on prem server, however it is showing error above, we tried to exec git clone in the pod, it is working normally.
only when it triggering by airflow operator it failed
Beta Was this translation helpful? Give feedback.
All reactions