airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaxil Naik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-2670) SSHOperator's timeout parameter doesn't affect SSHook timeoot
Date Tue, 04 Dec 2018 12:49:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kaxil Naik updated AIRFLOW-2670:
--------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.2

> 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: 1.10.2
>
>
> 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)

Mime
View raw message