You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/08 19:48:00 UTC

[jira] [Commented] (AIRFLOW-6494) SSH host_proxy has to be fresh

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

ASF GitHub Bot commented on AIRFLOW-6494:
-----------------------------------------

stale[bot] commented on pull request #7088: [WIP][AIRFLOW-6494] SSH host_proxy has to be fresh
URL: https://github.com/apache/airflow/pull/7088
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> SSH host_proxy has to be fresh
> ------------------------------
>
>                 Key: AIRFLOW-6494
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6494
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.10.1, 2.0.0
>            Reporter: Jianchao Yang
>            Priority: Major
>
> AIRFLOW-1762 moved `host_proxy` in contrib/hooks/ssh_hook.py to __init__, which causes the proxy socket to be closed whenever the SSH client is closed—which happens every time when exiting `with get_conn() as client`.
> The inconsistency between SSH Client and ProxyCommand's lifecycles would result in "Broken Pipe" error (because the proxy socket has already been closed!) when the same hook instance is used multiple time (often needed in some custom operators).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)