-
After upgrading my airflow environment from v2.0.2 to v2.5.1, I started running into the issue of 'SSH command timed out' which I never experienced while using v2.0.2. In my environment I have multiple dags with each dag having different tasks with different durations. I tried setting cmd_timeout to 8000 but it times out because some of my task runs longer than others. It's difficult to set a value for the parameter cmd_timeout. My question- Is there a way to set cmd_timeout to None? I tried setting it at the global level under the extras but I get this error- I tried setting it at the dag level but it fails with this error My SSHOperator version is 3.6.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is some minor issue, {"no_host_key_check": true,"cmd_timeout": null, "conn_timeout": 500} |
Beta Was this translation helpful? Give feedback.
There is some minor issue,
None
is Python specific type, andnull
is equivalent in JSON. So try to use this one