You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/29 18:29:21 UTC

[GitHub] [airflow] dimberman opened a new issue #7983: Bash_operator dont read multiline output

dimberman opened a new issue #7983: Bash_operator dont read multiline output
URL: https://github.com/apache/airflow/issues/7983
 
 
   
   
   **Apache Airflow version**: None
   
   Ticket was created 26/Jan/17 23:20
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   **What happened**:
   
   following piece of code is the root cause of it.  
   
   line = ''
                   for line in iter(sp.stdout.readline, b''):
                       line = line.decode(self.output_encoding).strip()
                       logging.info(line)
   
   
   
   I plan to fix it using string buffer instead of just 1 line string variable here.
   
   **What you expected to happen**:
   
   
   **How to reproduce it**:
   
   
   **Anything else we need to know**:
   
   Moved here from https://issues.apache.org/jira/browse/AIRFLOW-811
       

----------------------------------------------------------------
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


With regards,
Apache Git Services