You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2023/04/20 09:00:00 UTC

[jira] [Updated] (HIVE-27276) Enable debug options

     [ https://issues.apache.org/jira/browse/HIVE-27276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denys Kuzmenko updated HIVE-27276:
----------------------------------
    Description: 
{code}
-p9866:9866 -p10000:10000 -p10001:10001 -p9000:9000 -p8000:8000 -p3306:3306 -p50070:50070 -p50030:50030
{code}

For debug purpose, you can launch the container with:

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.

PR for testing it out, #4240

> Enable debug options
> --------------------
>
>                 Key: HIVE-27276
>                 URL: https://issues.apache.org/jira/browse/HIVE-27276
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Denys Kuzmenko
>            Priority: Major
>
> {code}
> -p9866:9866 -p10000:10000 -p10001:10001 -p9000:9000 -p8000:8000 -p3306:3306 -p50070:50070 -p50030:50030
> {code}
> For debug purpose, you can launch the container with:
> 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.
> PR for testing it out, #4240



--
This message was sent by Atlassian Jira
(v8.20.10#820010)