-
Notifications
You must be signed in to change notification settings - Fork 414
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
Conversation
Code Coverage Report
|
### 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>
support ARM and X86 architecture
@jerryshao Please help me review this PR, Thanks. |
dev/docker/hive2/build-docker.sh
Outdated
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 . |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, currently 0.1.1
is a fixed number, and this push to https://hub.docker.com/repository/docker/datastrato/hive2/tags?page=1&ordering=last_updated
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 |
### 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">
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.
linux/ARM64
andlinux/amd86
architectureWhy 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