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

[#614] feat(docker): Gravitino Trino Docker image #702

Merged
merged 3 commits into from
Nov 8, 2023
Merged

[#614] feat(docker): Gravitino Trino Docker image #702

merged 3 commits into from
Nov 8, 2023

Conversation

xunliu
Copy link
Member

@xunliu xunliu commented Nov 7, 2023

What changes were proposed in this pull request?

  • Build a minimal Trino Docker image.
  • Provides a choose of the Docker image type when the build Docker image in the Github Action.

image

Why are the changes needed?

Gravitino uses Trino for integration tests.
Trino has more than 40 plugins, Which makes the Trino server start up very slowly, usually taking 2~3 minutes.
We need to rebuild the Gravitino Trino Docker image and remove unused plugins.

Fix: #614

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

I build Trino Docker image success. https://hub.docker.com/repository/docker/datastrato/gravitino-ci-trino/general

@xunliu xunliu added this to the Graviton 0.3.0 milestone Nov 7, 2023
Copy link

github-actions bot commented Nov 7, 2023

Code Coverage Report

Overall Project 67.24% 🟢

There is no coverage information present for the Files changed

@xunliu xunliu requested a review from yuqi1129 November 7, 2023 10:12
@yuqi1129
Copy link
Contributor

yuqi1129 commented Nov 7, 2023

Please change the tag name as proposed in #680.

image

dev/docker/README.md Outdated Show resolved Hide resolved
@jerryshao
Copy link
Contributor

@mchades @diqiu50 can you please also take a review.

@jerryshao
Copy link
Contributor

Overall LGTM, could others please also take a look.

@xunliu
Copy link
Member Author

xunliu commented Nov 8, 2023

Please change the tag name as proposed in #680.

image

hi @yuqi1129 , I will fix this issue in #639

@xunliu
Copy link
Member Author

xunliu commented Nov 8, 2023

@yuqi1129 I fixed Trino JDBC port issue.
Please help me review it again. Thanks!

This Docker image is used to support Gravitino integration testing.
It includes Hadoop-2.x and Hive-2.x, you can use this Docker image to test the Gravitino catalog-hive module.
# Gravitino Docker images
This Docker image is designed to facilitate Gravitino integration testing.
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the trailing whitespace.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is not fixed, don't forget to do it.

Copy link
Member Author

Choose a reason for hiding this comment

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

DONE

@diqiu50
Copy link
Contributor

diqiu50 commented Nov 8, 2023

LGTM

yuqi1129
yuqi1129 previously approved these changes Nov 8, 2023
Copy link
Contributor

@yuqi1129 yuqi1129 left a comment

Choose a reason for hiding this comment

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

LGTM

@xunliu
Copy link
Member Author

xunliu commented Nov 8, 2023

Will merge if no more comments.

@xunliu xunliu merged commit 2cc5545 into apache:main Nov 8, 2023
2 checks passed
@xunliu xunliu deleted the issue-614 branch November 8, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] Gravitino Trino Docker image
5 participants