This is an automated email from the ASF dual-hosted git repository.
liuxun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino-playground.git
The following commit(s) were added to refs/heads/main by this push:
new ccd6cdc Remove unnecessary ranger image (#109)
ccd6cdc is described below
commit ccd6cdc3b53a69d23716ce07c085f065f68e219b
Author: roryqi <[email protected]>
AuthorDate: Thu Nov 21 12:05:20 2024 +0800
Remove unnecessary ranger image (#109)
---
...yaml => docker-enable-ranger-hive-override.yaml | 37 ----------------------
playground.sh | 2 +-
2 files changed, 1 insertion(+), 38 deletions(-)
diff --git a/docker-hive-override.yaml b/docker-enable-ranger-hive-override.yaml
similarity index 53%
rename from docker-hive-override.yaml
rename to docker-enable-ranger-hive-override.yaml
index 2e2a31b..f6be0d1 100644
--- a/docker-hive-override.yaml
+++ b/docker-enable-ranger-hive-override.yaml
@@ -18,50 +18,13 @@
#
services:
hive:
- image: apache/gravitino-ci:hive-0.1.14
- ports:
- - "3307:3306"
- - "19000:9000"
- - "19083:9083"
- - "60070:50070"
- container_name: playground-hive
environment:
- HADOOP_USER_NAME=root
- HIVE_RUNTIME_VERSION=hive3
- RANGER_SERVER_URL=http://ranger:6080
- RANGER_HIVE_REPOSITORY_NAME=hiveDev
- RANGER_HDFS_REPOSITORY_NAME=hdfsDev
- entrypoint: /bin/bash /tmp/hive/init.sh
- volumes:
- - ./init/hive:/tmp/hive
- healthcheck:
- test: ["CMD", "/tmp/check-status.sh"]
- interval: 10s
- timeout: 60s
- retries: 5
- start_period: 20s
- ranger:
- image: apache/gravitino-ci:ranger-0.1.1
- ports:
- - "6080:6080"
- container_name: playground-ranger
- entrypoint: /bin/bash /tmp/ranger/init.sh
- volumes:
- - ./healthcheck:/tmp/healthcheck
- - ./init/ranger:/tmp/ranger
- healthcheck:
- test: ["CMD", "/tmp/healthcheck/ranger-healthcheck.sh"]
- interval: 5s
- timeout: 60s
- retries: 5
- start_period: 120s
- deploy:
- resources:
- limits:
- cpus: "0.5"
- memory: 500M
-
jupyter:
environment:
- RANGER_ENABLE=true
diff --git a/playground.sh b/playground.sh
index 65828db..3b1d537 100755
--- a/playground.sh
+++ b/playground.sh
@@ -134,7 +134,7 @@ start() {
docker)
logSuffix=$(date +%Y%m%d%H%m%s)
if [ "$enableRanger" == true ]; then
- docker-compose -f docker-compose.yaml -f docker-hive-override.yaml up
--detach
+ docker-compose -f docker-compose.yaml -f
docker-enable-ranger-hive-override.yaml up --detach
else
docker-compose up --detach
fi