admin管理员组文章数量:1023758
We are currently running multiple bash commands through Airflow 2.7.3 version under Google Cloud Composer.
from airflow.providers.ssh.operators.ssh import SSHOperator
task_exec = SSHOperator(
task_id='additonal_info',
command="ksh -x execute.ksh paramter1",
ssh_conn_id="SSH_CONNECTION",
conn_timeout=432000,
)
Sometimes command runs for 1 hour , sometime to 8 hours and sometimes with in 30-40 minutes commands fails with returning no error at the bottom of Airflow task but it will be failed state in Airflow.
Could any one pls suggest what can be done to fix this issue
We are currently running multiple bash commands through Airflow 2.7.3 version under Google Cloud Composer.
from airflow.providers.ssh.operators.ssh import SSHOperator
task_exec = SSHOperator(
task_id='additonal_info',
command="ksh -x execute.ksh paramter1",
ssh_conn_id="SSH_CONNECTION",
conn_timeout=432000,
)
Sometimes command runs for 1 hour , sometime to 8 hours and sometimes with in 30-40 minutes commands fails with returning no error at the bottom of Airflow task but it will be failed state in Airflow.
Could any one pls suggest what can be done to fix this issue
本文标签: google cloud platformAirflow SSH Operator bash commands are failing IntermittentlyStack Overflow
版权声明:本文标题:google cloud platform - Airflow SSH Operator bash commands are failing Intermittently - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745601909a2158506.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论