Rob Keevil created AIRFLOW-1813:
-----------------------------------

             Summary: SSH Operator errors on commands with no output
                 Key: AIRFLOW-1813
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1813
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Rob Keevil


The SSH Operator will throw an empty "SSH operator error" when running commands 
that do not immediately log something to the terminal.  This is due to a call 
to stdout.channel.recv when the channel currently has a 0-size buffer, either 
because the command has not yet logged anything, or never will (e.g. sleep 5).  
A simple check of the buffer size before reading will fix this issue, will link 
a PR shortly



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to