You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 17:58:03 UTC

[jira] [Commented] (AIRFLOW-2670) SSHOperator's timeout parameter doesn't affect SSHook timeoot

    [ https://issues.apache.org/jira/browse/AIRFLOW-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601299#comment-16601299 ] 

Apache Spark commented on AIRFLOW-2670:
---------------------------------------

User 'Noremac201' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3553

> 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: 2.0.0
>            Reporter: jin zhang
>            Priority: Major
>             Fix For: 2.0.0
>
>
> 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)