jonsnowseven commented on issue #112:
URL: 
https://github.com/apache/gravitino-playground/issues/112#issuecomment-3724745594

   Hello.
   This is happening to me in a MacOS.
   
   ```
   ❯ sh -x playground.sh start > exec.log
   ++ dirname playground.sh
   + playground_dir=.
   ++ cd .
   ++ pwd
   + 
playground_dir=/Users/joao.neves/Projects/data-platform/gravitino-poc/gravitino-playground-main
   + playgroundRuntimeName=gravitino-playground
   + requiredDiskSpaceGB=25
   + requiredRamGB=6
   + requiredCpuCores=2
   + requiredPorts=(6080 8090 9001 3307 19000 19083 60070 13306 15342 18080 
18888 19090 13000)
   + dockerComposeCommand=
   + case "$1" in
   + enableRanger=false
   + enableAuth=false
   + shift
   + [[ 0 -gt 0 ]]
   + '[' false == true ']'
   + start
   + '[' false == true ']'
   + echo '[INFO] Starting the playground...'
   + echo '[INFO] The playground requires 2 CPU cores, 6 GB of RAM, and 25 GB 
of disk storage to operate efficiently.'
   + checkPortsInUse
   + usedPorts=()
   + local usedPorts
   + availablePorts=()
   + local availablePorts
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :6080 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :8090 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :9001 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :3307 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :19000 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :19083 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :60070 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :13306 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :15342 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :18080 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :18888 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :19090 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + for port in '"${requiredPorts[@]}"'
   ++ uname
   + [[ Darwin == \D\a\r\w\i\n ]]
   ++ lsof -i :13000 -sTCP:LISTEN
   + openPort=
   + '[' -z '' ']'
   + availablePorts+=("${port}")
   + echo '[INFO] Port status check results:'
   + '[' 13 -gt 0 ']'
   + echo '[INFO] Available ports: 6080 8090 9001 3307 19000 19083 60070 13306 
15342 18080 18888 19090 13000'
   + '[' 0 -gt 0 ']'
   + testDocker
   + echo '[INFO] Testing Docker environment by running hello-world...'
   + docker run --rm --pull always hello-world:linux
   + '[' 0 -eq 0 ']'
   + echo '[INFO] Docker check passed: Docker is working correctly!'
   ++ docker ps -a
   ++ grep hello-world
   ++ awk '{print $1}'
   ++ docker images
   ++ grep hello-world
   ++ awk '{print $2}'
   + for imageTag in '$(docker images | grep hello-world | awk '\''{print 
$2}'\'')'
   + docker rmi hello-world:linux
   + checkDockerCompose
   + dockerComposeCommand=
   + command -v docker
   + command -v docker compose
   + dockerComposeCommand='docker compose'
   + echo '[INFO] Docker compose check passed: Docker compose is working 
correctly using docker compose command!'
   + checkPlaygroundNotRunning
   + docker compose ls
   + grep -q gravitino-playground
   + checkDockerDisk
   ++ docker info
   ++ grep 'Docker Root Dir'
   ++ awk '{print $NF}'
   + local dockerRootDir=/var/lib/docker
   + '[' -z /var/lib/docker ']'
   + local availableSpaceKB
   + '[' -d /var/lib/docker ']'
   ++ df -k /
   ++ awk 'NR==2 {print $4}'
   + availableSpaceKB=255423696
   + local availableSpaceGB=243
   + '[' 243 -ge 25 ']'
   + echo '[INFO] Docker disk check passed: 243 GB available.'
   + checkDockerRam
   ++ docker info --format '{{.MemTotal}}'
   + local totalRamBytes=12528693248
   + local totalRamGB=11
   + '[' 11 -ge 6 ']'
   + echo '[INFO] Docker RAM check passed: 11 GB available.'
   + checkDockerCpu
   ++ docker info --format '{{.NCPU}}'
   + local cpuCores=4
   + '[' 4 -ge 2 ']'
   + echo '[INFO] Docker CPU check passed: 4 cores available.'
   + cd 
/Users/joao.neves/Projects/data-platform/gravitino-poc/gravitino-playground-main
   + echo '[INFO] Preparing packages...'
   + ./init/spark/spark-dependency.sh
   + ./init/gravitino/gravitino-dependency.sh
   + ./init/jupyter/jupyter-dependency.sh
   ++ date +%Y%m%d%H%M%s
   + logSuffix=2026010816421767890572
   + composeFiles='-f docker-compose.yaml'
   + '[' false == true ']'
   + '[' false == true ']'
   + docker compose -f docker-compose.yaml -p gravitino-playground up --detach
   [+] Running 6/6
    ✔ Container playground-grafana     Started0.5s
    ✔ Container playground-mysql       Healthy11.5s
    ✘ Container playground-hive        Error77.0s s
    ✔ Container playground-prometheus  Started1.0s
    ✘ Container playground-ranger      Error145.5s s
    ✔ Container playground-postgresql  Started1.0s
   dependency failed to start: container playground-hive is unhealthy
   + echo '[INFO] Check log details: 
/Users/joao.neves/Projects/data-platform/gravitino-poc/gravitino-playground-main/playground-2026010816421767890572.log'
   + docker compose -p gravitino-playground logs -f
   + pruneLegacyLogs
   + ls -tp playground-2026010815321767886358.log 
playground-2026010815341767886486.log playground-2026010815351767886501.log 
playground-2026010815451767887140.log playground-2026010816421767890572.log
   + grep -v '/$'
   + tail -n +4
   + xargs -I '{}' rm -- '{}'
   ```
   
   ```
   ❯ docker ps | grep playground
   5207cb8a59a3   mysql:8.0                                  
"docker-entrypoint.s…"   About an hour ago   Up 3 minutes (healthy)     
33060/tcp, 0.0.0.0:13306->3306/tcp, [::]:13306->3306/tcp                        
                                                                                
                                                                                
   playground-mysql
   da6d308a6c31   postgres:13                                
"docker-entrypoint.s…"   About an hour ago   Up 3 minutes               
0.0.0.0:15432->5432/tcp, [::]:15432->5432/tcp                                   
                                                                                
                                                                                
   playground-postgresql
   d9badca523c4   grafana/grafana:11.3.0-ubuntu              "/run.sh"          
      About an hour ago   Up 3 minutes               0.0.0.0:13000->3000/tcp, 
[::]:13000->3000/tcp                                                            
                                                                                
                                                          playground-grafana
   265b590b5058   prom/prometheus:v2.55.0                    "/bin/prometheus 
--c…"   About an hour ago   Up 3 minutes               0.0.0.0:19090->9090/tcp, 
[::]:19090->9090/tcp                                                            
                                                                                
                                                          playground-prometheus
   8b128f006951   apache/gravitino-playground:ranger-0.1.0   "/bin/bash 
/tmp/rang…"   About an hour ago   Up 3 minutes (unhealthy)   
0.0.0.0:6080->6080/tcp, [::]:6080->6080/tcp                                     
                                                                                
                                                                                
   playground-ranger
   3834de31d2b4   apache/gravitino-playground:hive-0.1.15    "/bin/bash 
/tmp/hive…"   About an hour ago   Up 3 minutes (unhealthy)   2181/tcp, 
10000/tcp, 10002/tcp, 50010/tcp, 50075/tcp, 0.0.0.0:3307->3306/tcp, 
[::]:3307->3306/tcp, 0.0.0.0:19000->9000/tcp, [::]:19000->9000/tcp, 
0.0.0.0:19083->9083/tcp, [::]:19083->9083/tcp, 0.0.0.0:60070->50070/tcp, 
[::]:60070->50070/tcp   playground-hive
   ```
   
   ```
   ❯ ./playground.sh status
   [INFO] Docker compose check passed: Docker compose is working correctly 
using docker compose command!
   NAME      IMAGE     COMMAND   SERVICE   CREATED   STATUS    PORTS
   ```
   
   Can someone help?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to