kyuubi/docker/playground
Cheng Pan a30a28c791
[KYUUBI #6076] Update Helm Chart and playground to use 1.8.1
# 🔍 Description
## Issue References 🔗

Promote the latest release version 1.8.1

## Describe Your Solution 🔧

Update Helm Chart and playground to use 1.8.1

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

Review

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6076 from pan3793/r-181.

Closes #6076

aada476c2 [Cheng Pan] Update Helm Chart and playground to use 1.8.1

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-02-22 18:53:59 +08:00
..
conf [KYUUBI #5944] Introduce Prometheus and Grafana for Kyuubi Playground 2024-01-15 13:49:00 +08:00
grafana/datasource [KYUUBI #5944] Introduce Prometheus and Grafana for Kyuubi Playground 2024-01-15 13:49:00 +08:00
image [KYUUBI #5266] Upgrade playground to Kyuubi 1.7.1 2023-09-11 11:13:05 +00:00
prometheus [KYUUBI #5944] Introduce Prometheus and Grafana for Kyuubi Playground 2024-01-15 13:49:00 +08:00
script
.env [KYUUBI #6076] Update Helm Chart and playground to use 1.8.1 2024-02-22 18:53:59 +08:00
build-image.sh [KYUUBI #4215] Remove useless build-arg CLICKHOUSE_JDBC_VERSION 2023-02-01 20:37:36 +08:00
compose.yml [KYUUBI #5944] Introduce Prometheus and Grafana for Kyuubi Playground 2024-01-15 13:49:00 +08:00
README.md [KYUUBI #5944] Introduce Prometheus and Grafana for Kyuubi Playground 2024-01-15 13:49:00 +08:00

Playground

For Users

Setup

  1. Install Docker and Docker Compose;
  2. Go to docker/playground, and use docker compose up -d to run compose services as daemon;

Play

  1. Connect using beeline

docker exec -it kyuubi /opt/kyuubi/bin/beeline -u 'jdbc:hive2://0.0.0.0:10009/tpcds/tiny';

  1. Connect using DBeaver

Add a Kyuubi datasource with

  • connection url jdbc:hive2://0.0.0.0:10009/tpcds/tiny
  • username: anonymous
  • password: <empty>
  1. Use built-in dataset

Kyuubi supply some built-in dataset, after Kyuubi started, you can run the following command to load the different datasets:

  • For loading TPC-DS tiny dataset to spark_catalog.tpcds_tiny, run docker exec -it kyuubi /opt/kyuubi/bin/beeline -u 'jdbc:hive2://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpcds-tiny.sql
  • For loading TPC-H tiny dataset to spark_catalog.tpch_tiny, run docker exec -it kyuubi /opt/kyuubi/bin/beeline -u 'jdbc:hive2://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpch-tiny.sql

Access Service

Shutdown

  1. Stop compose services by docker compose down;

For Maintainers

Build

  1. Build images docker/playground/build-image.sh;
  2. Optional to use buildx to build and publish cross-platform images BUILDX=1 docker/playground/build-image.sh;