How to use the playground
Playground introduction
The playground is a complete Apache Gravitino Docker runtime environment with Apache Hive
, HDFS
, Trino
, MySQL
, PostgreSQL
, Jupyter
, and a Apache Gravitino
server.
Depending on your network and computer, startup time may take 3-5 minutes. Once the playground environment has started, you can open http://localhost:8090 in a browser to access the Gravitino Web UI.
Prerequisites
Install Git (optional), Docker, Docker Compose. Docker Desktop (or Orbstack) with Kubenetes enabled, and helm CLI are required if you use helm-chart to deploy services.
System Resource Requirements
2 CPU cores, 8 GB RAM, 25 GB disk storage, MacOS or Linux OS (Verified Ubuntu22.04 Ubuntu24.04 AmazonLinux).
TCP ports used
The playground runs several services. The TCP ports used may clash with existing services you run, such as MySQL or Postgres.
Docker container | Ports used |
---|---|
playground-gravitino | 8090 9001 |
playground-hive | 3307 19000 19083 60070 |
playground-mysql | 13306 |
playground-postgresql | 15342 |
playground-trino | 18080 |
playground-jupyter | 18888 |
playground-prometheus | 19090 |
playground-grafana | 13000 |
Playground usage
One curl command launch playground
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/apache/gravitino-playground/HEAD/install.sh)"
Use git to download and launch playground
git clone git@github.com:apache/gravitino-playground.git
cd gravitino-playground
Docker
Start
./playground.sh docker start
Check status
./playground.sh docker status
Stop playground
./playground.sh docker stop