vietvudanh commented on issue #9299:
URL: https://github.com/apache/airflow/issues/9299#issuecomment-970103822


   > It's the problem with your Bash script. By default Bash operator will 
store LAST LINE of your output to XCom: see the documentation 
http://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/operators/bash/index.html#module-airflow.operators.bash
   > 
   > If your Bash prints 65k last line then yes, this is the problem you will 
get at.
   
   I have read the source code for 
[1.10](http://airflow.apache.org/docs/apache-airflow/1.10.12/_modules/airflow/operators/bash_operator.html#BashOperator.execute)
 and 
[latest](https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/operators/bash.html#BashOperator.execute)
   
   it looks like the `return last line` is only correct for version `1`, not 
`2` (I am using `v2.1.1`)
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to