potiuk opened a new pull request #15187:
URL: https://github.com/apache/airflow/pull/15187


   While checking the test status of various CI tests we came to
   conclusion that Presto integration took a lot of memory (~1GB)
   and was the main source of failures during integration tests,
   especially with MySQL8. The attempt to fine-tune the memory
   used turned out in the discovery, that Presto DB stopped
   publishing their Docker image (prestosql/presto) - apparently
   after the aftermath of splitting-off Trino from Presto.
   
   Th split-off was already discussed in #14281 and it was planned
   to add support for Trino (which is the more community-driven
   fork of the Presto - Presto remained at Facebook Governance,
   where Trino is an effort continued by the original creators.
   
   You can read more about it in the announcement:
   https://trino.io/blog/2020/12/27/announcing-trino.html. While
   Presto continues their way under The Linux Foundation, Trino
   lives its own live and keeps on maintaining all artifacts and
   libraries (including the image). That allowed us to update
   our tests and decrease the memory footprint by around 400MB.
   
   This commit:
   
   * adds the new Trino provider
   * removes `presto` integration and replaces it with `trino`
   * the `trino` integartion image is built with 400MB less memory
     requirementes and published as `apache/airflow:trino-*`
   * moves the integration tests from Presto to Trino
   
   Fixes: #14281
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


-- 
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:
[email protected]


Reply via email to