[
https://issues.apache.org/jira/browse/HIVE-26400?focusedWorklogId=857377&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-857377
]
ASF GitHub Bot logged work on HIVE-26400:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Apr/23 13:32
Start Date: 17/Apr/23 13:32
Worklog Time Spent: 10m
Work Description: dengzhhu653 commented on PR #3448:
URL: https://github.com/apache/hive/pull/3448#issuecomment-1511357356
> I think it would be a good idea to add ports for development / debugging
like this ones: -p9866:9866 -p10000:10000 -p10001:10001 -p9000:9000 -p8000:8000
-p3306:3306 -p50070:50070 -p50030:50030
For debug purpose, you can launch the container with:
```shell
docker run -d -p 9083:9083 -p 8009:8009 --env
SERVICE_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8009"
--env SERVICE_NAME=metastore --name metastore-standalone
apache/hive:4.0.0-SNAPSHOT
```
SERVICE_OPTS will finally propagate to the JVM args of the service.
I opened a new PR for testing it out,
https://github.com/apache/hive/pull/4240 cc @TuroczyX @deniskuzZ.
Issue Time Tracking
-------------------
Worklog Id: (was: 857377)
Time Spent: 14h 20m (was: 14h 10m)
> Provide docker images for Hive
> ------------------------------
>
> Key: HIVE-26400
> URL: https://issues.apache.org/jira/browse/HIVE-26400
> Project: Hive
> Issue Type: Sub-task
> Components: Build Infrastructure
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Blocker
> Labels: hive-4.0.0-must, pull-request-available
> Time Spent: 14h 20m
> 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)