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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to