[
https://issues.apache.org/jira/browse/HIVE-26400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641232#comment-17641232
]
Zoltan Haindrich commented on HIVE-26400:
-----------------------------------------
taking a quick look at the PR I'm not sure about the goal here...note that the
following will fire up Hive from public dockerhub images/etc:
{code}
# To download and start the Hive in a docker image
docker run --rm -p 10000:10000 --name hive4 -e HIVE_VERSION=4.0.0-alpha-1 -e
TEZ_VERSION=0.10.1 -v hive-dev-box_work:/work kgyrtkirk/hive-dev-box:bazaar
# After the pervious command is finished (it takes some time to download the
image and start Hive)
# In another terminal, to connect with BeeLine to Hive
docker exec -it hive4 /bin/bash --login -e safe_bl
{code}
it will also cache downloaded artifacts; and don't need to "rebuild" a
super-fat image every time a new version is being released...of course it might
make sense to ditch all those features in case it will be used differently.
> Provide docker images for Hive
> ------------------------------
>
> Key: HIVE-26400
> URL: https://issues.apache.org/jira/browse/HIVE-26400
> Project: Hive
> Issue Type: Improvement
> Components: Build Infrastructure
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Blocker
> Labels: hive-4.0.0-must, pull-request-available
> Time Spent: 5h
> Remaining Estimate: 0h
>
> Make Apache Hive be able to run inside docker container in pseudo-distributed
> mode, with MySQL/Derby as its back database, provide the following:
> * Quick-start/Debugging/Prepare a test env for Hive;
> * Tools to build target image with specified version of Hive and its
> dependencies;
> * Images can be used as the basis for the Kubernetes operator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)