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

[#241] test: build Hive2 docker runtime test environment #267

Merged
merged 4 commits into from
Aug 29, 2023
Merged

[#241] test: build Hive2 docker runtime test environment #267

merged 4 commits into from
Aug 29, 2023

Conversation

xunliu
Copy link
Member

@xunliu xunliu commented Aug 22, 2023

What changes were proposed in this pull request?

Build a hive runtime environment docker image including:
These versions match the Hadoop and Hive that Graviton depends on.

  1. Hadoop-2.7.3
  2. Hive-2.3.9
  3. Mysql
  4. openJDK-8u382
  5. Support linux/ARM64 and linux/amd86 architecture

Why are the changes needed?

The hive catalog integration test need to connect really Hive runtime environment

Fix: #241

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Success build and push to the docker hub

image

@xunliu xunliu requested a review from jerryshao August 22, 2023 03:36
@github-actions
Copy link

github-actions bot commented Aug 22, 2023

Code Coverage Report

Overall Project 61.24% 🟢

There is no coverage information present for the Files changed

jerryshao pushed a commit that referenced this pull request Aug 22, 2023
### What changes were proposed in this pull request?

Add some simple test for the repose classes.

### Why are the changes needed?

To increase test coverage.

Fix: #267

### Does this PR introduce _any_ user-facing change?

None

### How was this patch tested?

Build and test passes.

Co-authored-by: Justin Mclean <justin@datastrato.com>
@xunliu xunliu reopened this Aug 28, 2023
@xunliu
Copy link
Member Author

xunliu commented Aug 28, 2023

@jerryshao Please help me review this PR, Thanks.

fi

# Option params --no-cache --push
docker buildx build --platform=linux/amd64,linux/arm64 --output type=docker --progress plain -t datastrato/hive2:0.1.1 .
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this 0.1.1 a fixed number? Also, will this push the image to dockerhub?

Copy link
Member Author

Choose a reason for hiding this comment

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

@jerryshao
Copy link
Contributor

image

@xunliu
Copy link
Member Author

xunliu commented Aug 29, 2023

image

This is the wrong uri, I updated the PR context with correct uri address. https://hub.docker.com/repository/docker/datastrato/hive2/tags?page=1&ordering=last_updated

@jerryshao jerryshao added need backport Issues that need to backport to another branch branch-0.1 labels Aug 29, 2023
@jerryshao jerryshao merged commit 005a0d3 into apache:main Aug 29, 2023
@jerryshao jerryshao changed the title [#241] Hive2 docker runtime environment [#241] test: build Hive2 docker runtime test environment Aug 29, 2023
github-actions bot pushed a commit that referenced this pull request Aug 29, 2023
### What changes were proposed in this pull request?

Build a hive runtime environment docker image including:
These versions match the Hadoop and Hive that Graviton depends on.

1. Hadoop-2.7.3
2. Hive-2.3.9
3. Mysql
4. openJDK-8u382
5. Support `linux/ARM64` and `linux/amd86` architecture

### Why are the changes needed?

The hive catalog integration test need to connect really Hive runtime
environment

Fix: #241 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

Success build and push to the docker hub
+
https://hub.docker.com/repository/docker/datastrato/hive2/tags?page=1&ordering=last_updated

<img width="791" alt="image"
src="https://github.com/datastrato/graviton/assets/3677382/7aee52b5-44f4-4f7c-ae4a-8703c7daca94">
@xunliu xunliu deleted the issue-241 branch December 11, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] Hive2 docker runtime environment
2 participants