-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Airflow 16364] Add conn_timeout and cmd_timeout params to SSHOperator; add conn_timeout param to SSHHook #17236
Conversation
… add conn_timoue param to SSHHook
… add conn_timoue param to SSHHook
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
See inline comments (the same also apply to the operator class). |
… add conn_timoue param to SSHHook
…metrized unit tests for SSHHook
…e Airflow example DAGs (#16866) Co-authored-by: Ash Berlin-Taylor <[email protected]>
The #17939 did not fix the problem finally. It turned out that one more change was needed - since we now always upgrade to latest dependencies in `push` and `schedule` type of build we do not need to check for the variable UPGRADE_TO_NEWER_DEPENDENCIES (which was not set in "Build Image" step. This fixes it, but also changes the constraint generation to add comments in the generated constraint files, describing how and why the files are generated.
…17945) Currently, if you set max_active_runs for a dag and that dag has many queued dagruns with execution dates older than another dag's queued dagruns, airflow will not move the newer queued dagruns to running with the effect that only one dagruns would be in running at any time This PR fixes this by updating the DagRun.last_scheduling_decision whenever a decision of scheduling was made
Co-authored-by: bbenshalom <[email protected]> Co-authored-by: Tzu-ping Chung <[email protected]> Co-authored-by: Ephraim Anierobi <[email protected]>
* Fix blank dag dependencies view * calculate graph if node and edges are empty
Co-authored-by: Bas Harenslak <[email protected]>
Awesome work, congrats on your first merged pull request! |
Woohooo! |
@ashb That's a pretty cool honor :) Thanks to everyone who helped me with this! |
How cool's that ! |
closes #16364 (Timeout is ambiguous in SSHHook and SSHOperator)
Add conn_timeout and cmd_timeout params to SSHOperator. Add conn_timeout param to SSHHook. The legacy timeout param remains but is marked as deprecated. The new params take precedence over the legacy timeout one if both/all are provided.
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.