Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace presto with trino #1130

Merged
merged 5 commits into from
Dec 1, 2023
Merged

Replace presto with trino #1130

merged 5 commits into from
Dec 1, 2023

Conversation

yaalsn
Copy link
Member

@yaalsn yaalsn commented Nov 27, 2023

Motivation

In the pulsar image, presto is named trino. We need to adapt the related charts conf.

Modifications

  • Correct all the trino conf path.
  • Use root user to run the pod in order to add configuration to node.properties
  • Remove node.internal-address
  • Health check: add header when request trino API and replace internal addr with pod ip

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

Test SQL query pass

image

@yaalsn yaalsn requested review from sijie and a team as code owners November 27, 2023 07:57
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Nov 27, 2023
@yaalsn
Copy link
Member Author

yaalsn commented Nov 27, 2023

@tuteng @ciiiii @gaoran10 @ericsyh PTAL

ericsyh
ericsyh previously approved these changes Nov 28, 2023
Copy link

@gaoran10 gaoran10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! LGTM

@ericsyh ericsyh added this to the sn-platform-1.11.3 milestone Nov 28, 2023
@ericsyh ericsyh merged commit d4c6a55 into master Dec 1, 2023
21 checks passed
@ericsyh ericsyh deleted the replace-presto-with-trino branch December 1, 2023 07:17
ericsyh pushed a commit that referenced this pull request Dec 4, 2023
* Replace presto with trino

* Run sql-worker pod with root user

* Remove internal addr of node

* Add header of health check

* Change internal addr to pod ip of health check

(cherry picked from commit d4c6a55)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-need-doc This pr does not need any document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants