[
https://issues.apache.org/jira/browse/AIRFLOW-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564246#comment-16564246
]
ASF GitHub Bot commented on AIRFLOW-2670:
-----------------------------------------
Fokko commented on issue #3666: [AIRFLOW-2670] Update SSH Operator's Hook to
respect timeout
URL:
https://github.com/apache/incubator-airflow/pull/3666#issuecomment-409338606
Nice one @Noremac201 Thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> SSHOperator's timeout parameter doesn't affect SSHook timeoot
> -------------------------------------------------------------
>
> Key: AIRFLOW-2670
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2670
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib
> Affects Versions: Airflow 2.0
> Reporter: jin zhang
> Priority: Major
>
> when I use SSHOperator, SSHOperator's timeout parameter can't set in SSHHook
> and it's just effect exce_command.
> old version:
> self.ssh_hook = SSHHook(ssh_conn_id=self.ssh_conn_id)
> I change it to :
> self.ssh_hook = SSHHook(ssh_conn_id=self.ssh_conn_id, timeout=self.timeout)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)