This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 4aff17f3554 branch-2.1: [fix](docker hive3) hive server oom and not
auto-restart #50456 (#50507)
4aff17f3554 is described below
commit 4aff17f35547cbb8197684694f8e7973ce85948a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat May 3 22:44:29 2025 +0800
branch-2.1: [fix](docker hive3) hive server oom and not auto-restart #50456
(#50507)
Cherry-picked from #50456
Co-authored-by: Thearas <[email protected]>
---
docker/thirdparties/docker-compose/hive/hive-3x.yaml.tpl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docker/thirdparties/docker-compose/hive/hive-3x.yaml.tpl
b/docker/thirdparties/docker-compose/hive/hive-3x.yaml.tpl
index 61972ea9e86..a1de3d3fc9f 100644
--- a/docker/thirdparties/docker-compose/hive/hive-3x.yaml.tpl
+++ b/docker/thirdparties/docker-compose/hive/hive-3x.yaml.tpl
@@ -56,11 +56,13 @@ services:
hive-server:
image: doristhirdpartydocker/hive:3.1.2-postgresql-metastore
+ restart: always
env_file:
- ./hadoop-hive-3x.env
environment:
HIVE_CORE_CONF_javax_jdo_option_ConnectionURL:
"jdbc:postgresql://${IP_HOST}:${PG_PORT}/metastore"
SERVICE_PRECONDITION: "${IP_HOST}:${HMS_PORT}"
+ JVM_OPTS: -Xmx2g
container_name: ${CONTAINER_UID}hive3-server
expose:
- "${HS_PORT}"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]