From 883d27c84a17c519f06c60128601e1bad3f66a0d Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:15:37 +0800 Subject: [PATCH 1/9] playground --- docker/playground/.env | 8 ++++---- docker/playground/build-image.sh | 3 +-- docker/playground/compose.yml | 6 ++++++ docker/playground/conf/hadoop-env.sh | 18 ++++++++++++++++++ docker/playground/conf/hive-env.sh | 18 ++++++++++++++++++ docker/playground/conf/kyuubi-env.sh | 18 ++++++++++++++++++ docker/playground/conf/spark-env.sh | 18 ++++++++++++++++++ .../image/kyuubi-playground-base.Dockerfile | 15 +++++++++++++-- .../image/kyuubi-playground-hadoop.Dockerfile | 7 ++----- .../image/kyuubi-playground-kyuubi.Dockerfile | 2 -- .../image/kyuubi-playground-spark.Dockerfile | 2 -- 11 files changed, 98 insertions(+), 17 deletions(-) create mode 100644 docker/playground/conf/hadoop-env.sh create mode 100644 docker/playground/conf/hive-env.sh create mode 100644 docker/playground/conf/kyuubi-env.sh create mode 100644 docker/playground/conf/spark-env.sh diff --git a/docker/playground/.env b/docker/playground/.env index 28a97a0d241..464edddcb72 100644 --- a/docker/playground/.env +++ b/docker/playground/.env @@ -18,14 +18,14 @@ AWS_JAVA_SDK_VERSION=1.12.367 HADOOP_VERSION=3.3.6 HIVE_VERSION=2.3.9 -ICEBERG_VERSION=1.6.1 -KYUUBI_VERSION=1.9.0 +ICEBERG_VERSION=1.10.1 +KYUUBI_VERSION=1.11.0 KYUUBI_HADOOP_VERSION=3.3.6 POSTGRES_VERSION=12 POSTGRES_JDBC_VERSION=42.3.4 SCALA_BINARY_VERSION=2.12 -SPARK_VERSION=3.4.4 -SPARK_BINARY_VERSION=3.4 +SPARK_VERSION=3.5.7 +SPARK_BINARY_VERSION=3.5 SPARK_HADOOP_VERSION=3.3.4 ZOOKEEPER_VERSION=3.6.3 PROMETHEUS_VERSION=2.53.3 diff --git a/docker/playground/build-image.sh b/docker/playground/build-image.sh index 98b16fd0394..befa743f78b 100755 --- a/docker/playground/build-image.sh +++ b/docker/playground/build-image.sh @@ -19,7 +19,7 @@ set -e -APACHE_MIRROR=${APACHE_MIRROR:-https://dlcdn.apache.org} +APACHE_MIRROR=${APACHE_MIRROR:-https://archive.apache.org/dist} MAVEN_MIRROR=${MAVEN_MIRROR:-https://maven-central-asia.storage-download.googleapis.com/maven2} BUILD_CMD="docker build" @@ -44,7 +44,6 @@ ${BUILD_CMD} \ --build-arg APACHE_MIRROR=${APACHE_MIRROR} \ --build-arg MAVEN_MIRROR=${MAVEN_MIRROR} \ --build-arg KYUUBI_VERSION=${KYUUBI_VERSION} \ - --build-arg AWS_JAVA_SDK_VERSION=${AWS_JAVA_SDK_VERSION} \ --build-arg HADOOP_VERSION=${HADOOP_VERSION} \ --file "${SELF_DIR}/image/kyuubi-playground-hadoop.Dockerfile" \ --tag nekyuubi/kyuubi-playground-hadoop:${KYUUBI_VERSION} \ diff --git a/docker/playground/compose.yml b/docker/playground/compose.yml index f188b52904e..3c60056ba3a 100644 --- a/docker/playground/compose.yml +++ b/docker/playground/compose.yml @@ -75,6 +75,8 @@ services: - 9083 volumes: - ./conf/core-site.xml:/etc/hadoop/conf/core-site.xml + - ./conf/hadoop-env.sh:/etc/hadoop/conf/hadoop-env.sh + - ./conf/hive-env.sh:/etc/hive/conf/hive-env.sh - ./conf/hive-site.xml:/etc/hive/conf/hive-site.xml depends_on: - postgres @@ -89,9 +91,13 @@ services: - 10099:10099 volumes: - ./conf/core-site.xml:/etc/hadoop/conf/core-site.xml + - ./conf/hadoop-env.sh:/etc/hadoop/conf/hadoop-env.sh + - ./conf/hive-env.sh:/etc/hive/conf/hive-env.sh - ./conf/hive-site.xml:/etc/hive/conf/hive-site.xml - ./conf/spark-defaults.conf:/etc/spark/conf/spark-defaults.conf + - ./conf/spark-env.sh:/etc/spark/conf/spark-env.sh - ./conf/kyuubi-defaults.conf:/etc/kyuubi/conf/kyuubi-defaults.conf + - ./conf/kyuubi-env.sh:/etc/kyuubi/conf/kyuubi-env.sh - ./conf/kyuubi-log4j2.xml:/etc/kyuubi/conf/log4j2.xml - ./script/load-dataset-tpcds-tiny.sql:/opt/load_data/load-dataset-tpcds-tiny.sql - ./script/load-dataset-tpch-tiny.sql:/opt/load_data/load-dataset-tpch-tiny.sql diff --git a/docker/playground/conf/hadoop-env.sh b/docker/playground/conf/hadoop-env.sh new file mode 100644 index 00000000000..9469140937e --- /dev/null +++ b/docker/playground/conf/hadoop-env.sh @@ -0,0 +1,18 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +export JAVA_HOME=$(update-java-alternatives --list | grep java-1.8.0-openjdk | awk '{print $NF}') diff --git a/docker/playground/conf/hive-env.sh b/docker/playground/conf/hive-env.sh new file mode 100644 index 00000000000..9469140937e --- /dev/null +++ b/docker/playground/conf/hive-env.sh @@ -0,0 +1,18 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +export JAVA_HOME=$(update-java-alternatives --list | grep java-1.8.0-openjdk | awk '{print $NF}') diff --git a/docker/playground/conf/kyuubi-env.sh b/docker/playground/conf/kyuubi-env.sh new file mode 100644 index 00000000000..3bb68142a78 --- /dev/null +++ b/docker/playground/conf/kyuubi-env.sh @@ -0,0 +1,18 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +export JAVA_HOME=$(update-java-alternatives --list | grep java-1.17.0-openjdk | awk '{print $NF}') diff --git a/docker/playground/conf/spark-env.sh b/docker/playground/conf/spark-env.sh new file mode 100644 index 00000000000..3bb68142a78 --- /dev/null +++ b/docker/playground/conf/spark-env.sh @@ -0,0 +1,18 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +export JAVA_HOME=$(update-java-alternatives --list | grep java-1.17.0-openjdk | awk '{print $NF}') diff --git a/docker/playground/image/kyuubi-playground-base.Dockerfile b/docker/playground/image/kyuubi-playground-base.Dockerfile index e8375eb68b8..84d0c91ba3a 100644 --- a/docker/playground/image/kyuubi-playground-base.Dockerfile +++ b/docker/playground/image/kyuubi-playground-base.Dockerfile @@ -10,13 +10,24 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM eclipse-temurin:8-focal +FROM ubuntu:focal + +ENV DEBIAN_FRONTEND=noninteractive +ENV DEBCONF_TERSE=true RUN set -x && \ + echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/10disableextras && \ + echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/10disableextras && \ ln -snf /usr/bin/bash /usr/bin/sh && \ apt-get update -q && \ - apt-get install -yq retry busybox && \ + apt-get install -yq \ + retry \ + busybox \ + software-properties-common \ + openjdk-8-jdk-headless \ + openjdk-17-jdk-headless && \ rm -rf /var/lib/apt/lists/* && \ + update-java-alternatives --set $(update-java-alternatives --list | grep java-1.8.0-openjdk | awk '{print $NF}') && \ mkdir /opt/busybox && \ busybox --install /opt/busybox diff --git a/docker/playground/image/kyuubi-playground-hadoop.Dockerfile b/docker/playground/image/kyuubi-playground-hadoop.Dockerfile index 588ff8d80a2..79ef8c0e42d 100644 --- a/docker/playground/image/kyuubi-playground-hadoop.Dockerfile +++ b/docker/playground/image/kyuubi-playground-hadoop.Dockerfile @@ -14,7 +14,6 @@ ARG KYUUBI_VERSION FROM nekyuubi/kyuubi-playground-base:${KYUUBI_VERSION} -ARG AWS_JAVA_SDK_VERSION ARG HADOOP_VERSION ARG APACHE_MIRROR @@ -29,9 +28,7 @@ RUN set -x && \ tar -xzf ${HADOOP_TAR_NAME}.tar.gz -C /opt && \ ln -s /opt/hadoop-${HADOOP_VERSION} ${HADOOP_HOME} && \ rm ${HADOOP_TAR_NAME}.tar.gz && \ - HADOOP_CLOUD_STORAGE_JAR_NAME=hadoop-cloud-storage && \ - wget -q ${MAVEN_MIRROR}/org/apache/hadoop/${HADOOP_CLOUD_STORAGE_JAR_NAME}/${HADOOP_VERSION}/${HADOOP_CLOUD_STORAGE_JAR_NAME}-${HADOOP_VERSION}.jar -P ${HADOOP_HOME}/share/hadoop/hdfs/lib && \ HADOOP_AWS_JAR_NAME=hadoop-aws && \ - wget -q ${MAVEN_MIRROR}/org/apache/hadoop/${HADOOP_AWS_JAR_NAME}/${HADOOP_VERSION}/${HADOOP_AWS_JAR_NAME}-${HADOOP_VERSION}.jar -P ${HADOOP_HOME}/share/hadoop/hdfs/lib && \ + ln -s ${HADOOP_HOME}/share/hadoop/tools/lib/${HADOOP_AWS_JAR_NAME}-${HADOOP_VERSION}.jar ${HADOOP_HOME}/share/hadoop/hdfs/lib/ && \ AWS_JAVA_SDK_BUNDLE_JAR_NAME=aws-java-sdk-bundle && \ - wget -q ${MAVEN_MIRROR}/com/amazonaws/${AWS_JAVA_SDK_BUNDLE_JAR_NAME}/${AWS_JAVA_SDK_VERSION}/${AWS_JAVA_SDK_BUNDLE_JAR_NAME}-${AWS_JAVA_SDK_VERSION}.jar -P ${HADOOP_HOME}/share/hadoop/hdfs/lib + ln -s $(find ${HADOOP_HOME}/share/hadoop/tools/lib/ -name "${AWS_JAVA_SDK_BUNDLE_JAR_NAME}-*.jar") ${HADOOP_HOME}/share/hadoop/hdfs/lib/ \ No newline at end of file diff --git a/docker/playground/image/kyuubi-playground-kyuubi.Dockerfile b/docker/playground/image/kyuubi-playground-kyuubi.Dockerfile index 7450c2f63cf..9b41abf916b 100644 --- a/docker/playground/image/kyuubi-playground-kyuubi.Dockerfile +++ b/docker/playground/image/kyuubi-playground-kyuubi.Dockerfile @@ -29,8 +29,6 @@ RUN set -x && \ tar -xzf apache-kyuubi-${KYUUBI_VERSION}-bin.tgz -C /opt && \ ln -s /opt/apache-kyuubi-${KYUUBI_VERSION}-bin ${KYUUBI_HOME} && \ rm apache-kyuubi-${KYUUBI_VERSION}-bin.tgz && \ - HADOOP_CLOUD_STORAGE_JAR_NAME=hadoop-cloud-storage && \ - wget -q ${MAVEN_MIRROR}/org/apache/hadoop/${HADOOP_CLOUD_STORAGE_JAR_NAME}/${KYUUBI_HADOOP_VERSION}/${HADOOP_CLOUD_STORAGE_JAR_NAME}-${KYUUBI_HADOOP_VERSION}.jar -P ${KYUUBI_HOME}/jars && \ HADOOP_AWS_JAR_NAME=hadoop-aws && \ wget -q ${MAVEN_MIRROR}/org/apache/hadoop/${HADOOP_AWS_JAR_NAME}/${KYUUBI_HADOOP_VERSION}/${HADOOP_AWS_JAR_NAME}-${KYUUBI_HADOOP_VERSION}.jar -P ${KYUUBI_HOME}/jars && \ AWS_JAVA_SDK_BUNDLE_JAR_NAME=aws-java-sdk-bundle && \ diff --git a/docker/playground/image/kyuubi-playground-spark.Dockerfile b/docker/playground/image/kyuubi-playground-spark.Dockerfile index 4dd9df66c62..2e7ce22a1d2 100644 --- a/docker/playground/image/kyuubi-playground-spark.Dockerfile +++ b/docker/playground/image/kyuubi-playground-spark.Dockerfile @@ -40,8 +40,6 @@ RUN set -x && \ wget -q ${MAVEN_MIRROR}/org/apache/iceberg/${ICEBERG_SPARK_JAR_NAME}/${ICEBERG_VERSION}/${ICEBERG_SPARK_JAR_NAME}-${ICEBERG_VERSION}.jar -P ${SPARK_HOME}/jars && \ SPARK_HADOOP_CLOUD_JAR_NAME=spark-hadoop-cloud_${SCALA_BINARY_VERSION} && \ wget -q ${MAVEN_MIRROR}/org/apache/spark/${SPARK_HADOOP_CLOUD_JAR_NAME}/${SPARK_VERSION}/${SPARK_HADOOP_CLOUD_JAR_NAME}-${SPARK_VERSION}.jar -P ${SPARK_HOME}/jars && \ - HADOOP_CLOUD_STORAGE_JAR_NAME=hadoop-cloud-storage && \ - wget -q ${MAVEN_MIRROR}/org/apache/hadoop/${HADOOP_CLOUD_STORAGE_JAR_NAME}/${SPARK_HADOOP_VERSION}/${HADOOP_CLOUD_STORAGE_JAR_NAME}-${SPARK_HADOOP_VERSION}.jar -P ${SPARK_HOME}/jars && \ HADOOP_AWS_JAR_NAME=hadoop-aws && \ wget -q ${MAVEN_MIRROR}/org/apache/hadoop/${HADOOP_AWS_JAR_NAME}/${SPARK_HADOOP_VERSION}/${HADOOP_AWS_JAR_NAME}-${SPARK_HADOOP_VERSION}.jar -P ${SPARK_HOME}/jars && \ AWS_JAVA_SDK_BUNDLE_JAR_NAME=aws-java-sdk-bundle && \ From 73a01e40eb67abc3cfbad0cd460d5c89e836d7c4 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:28:20 +0800 Subject: [PATCH 2/9] fix --- docker/playground/image/kyuubi-playground-base.Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/playground/image/kyuubi-playground-base.Dockerfile b/docker/playground/image/kyuubi-playground-base.Dockerfile index 84d0c91ba3a..dbef54395a9 100644 --- a/docker/playground/image/kyuubi-playground-base.Dockerfile +++ b/docker/playground/image/kyuubi-playground-base.Dockerfile @@ -23,11 +23,10 @@ RUN set -x && \ apt-get install -yq \ retry \ busybox \ - software-properties-common \ openjdk-8-jdk-headless \ openjdk-17-jdk-headless && \ rm -rf /var/lib/apt/lists/* && \ - update-java-alternatives --set $(update-java-alternatives --list | grep java-1.8.0-openjdk | awk '{print $NF}') && \ + update-java-alternatives --set $(update-java-alternatives --list | grep java-1.8.0-openjdk | awk '{print $NF}') || \ mkdir /opt/busybox && \ busybox --install /opt/busybox From 30e0abc9eef646d15eb27b30b217c1dd7d951bc5 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:40:38 +0800 Subject: [PATCH 3/9] docs --- docker/playground/README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/docker/playground/README.md b/docker/playground/README.md index 2c6befd76fe..d91eeec8fda 100644 --- a/docker/playground/README.md +++ b/docker/playground/README.md @@ -10,15 +10,17 @@ Playground ### Play -1. Connect using `beeline` +1. Connect using `kyuubi-beeline` -`docker exec -it kyuubi /opt/kyuubi/bin/beeline -u 'jdbc:hive2://0.0.0.0:10009/tpcds/tiny'`; +``` +docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:hive2://0.0.0.0:10009/tpcds/tiny' +``` 2. Connect using DBeaver Add a Kyuubi datasource with -- connection url `jdbc:hive2://0.0.0.0:10009/tpcds/tiny` +- connection url `jdbc:kyuubi://0.0.0.0:10009/tpcds/tiny` - username: `anonymous` - password: `` @@ -26,8 +28,17 @@ Add a Kyuubi datasource with 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` +- For loading TPC-DS tiny dataset to `spark_catalog.tpcds_tiny`, run + +``` +docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-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/kyuubi-beeline -u 'jdbc:hive2://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpch-tiny.sql +``` ### Access Service From 3e9bd6822151fa561839c7b003c0bf32223845db Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:44:59 +0800 Subject: [PATCH 4/9] nit --- docker/playground/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/playground/.env b/docker/playground/.env index 464edddcb72..435e5853923 100644 --- a/docker/playground/.env +++ b/docker/playground/.env @@ -28,5 +28,5 @@ SPARK_VERSION=3.5.7 SPARK_BINARY_VERSION=3.5 SPARK_HADOOP_VERSION=3.3.4 ZOOKEEPER_VERSION=3.6.3 -PROMETHEUS_VERSION=2.53.3 +PROMETHEUS_VERSION=2.53.5 GRAFANA_VERSION=11.4.0 From be24b2a34b95a653976a11d6c0292e126aa08488 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:52:42 +0800 Subject: [PATCH 5/9] nit --- docker/playground/image/kyuubi-playground-hadoop.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/playground/image/kyuubi-playground-hadoop.Dockerfile b/docker/playground/image/kyuubi-playground-hadoop.Dockerfile index 79ef8c0e42d..7d05120b1c7 100644 --- a/docker/playground/image/kyuubi-playground-hadoop.Dockerfile +++ b/docker/playground/image/kyuubi-playground-hadoop.Dockerfile @@ -31,4 +31,4 @@ RUN set -x && \ HADOOP_AWS_JAR_NAME=hadoop-aws && \ ln -s ${HADOOP_HOME}/share/hadoop/tools/lib/${HADOOP_AWS_JAR_NAME}-${HADOOP_VERSION}.jar ${HADOOP_HOME}/share/hadoop/hdfs/lib/ && \ AWS_JAVA_SDK_BUNDLE_JAR_NAME=aws-java-sdk-bundle && \ - ln -s $(find ${HADOOP_HOME}/share/hadoop/tools/lib/ -name "${AWS_JAVA_SDK_BUNDLE_JAR_NAME}-*.jar") ${HADOOP_HOME}/share/hadoop/hdfs/lib/ \ No newline at end of file + ln -s $(find ${HADOOP_HOME}/share/hadoop/tools/lib/ -name "${AWS_JAVA_SDK_BUNDLE_JAR_NAME}-*.jar") ${HADOOP_HOME}/share/hadoop/hdfs/lib/ \ From bb7de285a783ffd7a0fc383d77b9ce7bf7e7603f Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:55:49 +0800 Subject: [PATCH 6/9] docs --- docker/playground/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/playground/README.md b/docker/playground/README.md index d91eeec8fda..2eacc227d4a 100644 --- a/docker/playground/README.md +++ b/docker/playground/README.md @@ -13,7 +13,7 @@ Playground 1. Connect using `kyuubi-beeline` ``` -docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:hive2://0.0.0.0:10009/tpcds/tiny' +docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:kyuubi://0.0.0.0:10009/tpcds/tiny' ``` 2. Connect using DBeaver @@ -31,13 +31,13 @@ Kyuubi supply some built-in dataset, after Kyuubi started, you can run the follo - For loading TPC-DS tiny dataset to `spark_catalog.tpcds_tiny`, run ``` -docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:hive2://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpcds-tiny.sql +docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:kyuubi://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/kyuubi-beeline -u 'jdbc:hive2://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpch-tiny.sql +docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:kyuubi://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpch-tiny.sql ``` ### Access Service From a4b643d34b70780f03181f1a1bd3a88f220552ec Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 14:58:45 +0800 Subject: [PATCH 7/9] docs --- docker/playground/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/playground/README.md b/docker/playground/README.md index 2eacc227d4a..5178caf85d8 100644 --- a/docker/playground/README.md +++ b/docker/playground/README.md @@ -34,7 +34,7 @@ Kyuubi supply some built-in dataset, after Kyuubi started, you can run the follo docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:kyuubi://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 +- For loading TPC-H tiny dataset to `spark_catalog.tpch_tiny`, run ``` docker exec -it kyuubi /opt/kyuubi/bin/kyuubi-beeline -u 'jdbc:kyuubi://0.0.0.0:10009/' -f /opt/load_data/load-dataset-tpch-tiny.sql From 093468915b3174f56914d45bb3dd61919a2cdba1 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 17:28:40 +0800 Subject: [PATCH 8/9] ca-certificates-java --- docker/playground/image/kyuubi-playground-base.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/playground/image/kyuubi-playground-base.Dockerfile b/docker/playground/image/kyuubi-playground-base.Dockerfile index dbef54395a9..1099eadf07a 100644 --- a/docker/playground/image/kyuubi-playground-base.Dockerfile +++ b/docker/playground/image/kyuubi-playground-base.Dockerfile @@ -23,9 +23,11 @@ RUN set -x && \ apt-get install -yq \ retry \ busybox \ + ca-certificates-java \ openjdk-8-jdk-headless \ openjdk-17-jdk-headless && \ rm -rf /var/lib/apt/lists/* && \ + update-ca-certificates -f && \ update-java-alternatives --set $(update-java-alternatives --list | grep java-1.8.0-openjdk | awk '{print $NF}') || \ mkdir /opt/busybox && \ busybox --install /opt/busybox From 43ba4f97b0bc9445be0b828fffb15b11baccd33c Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 4 Jan 2026 19:47:32 +0800 Subject: [PATCH 9/9] chmod --- docker/playground/conf/hadoop-env.sh | 0 docker/playground/conf/hive-env.sh | 0 docker/playground/conf/kyuubi-env.sh | 0 docker/playground/conf/spark-env.sh | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 docker/playground/conf/hadoop-env.sh mode change 100644 => 100755 docker/playground/conf/hive-env.sh mode change 100644 => 100755 docker/playground/conf/kyuubi-env.sh mode change 100644 => 100755 docker/playground/conf/spark-env.sh diff --git a/docker/playground/conf/hadoop-env.sh b/docker/playground/conf/hadoop-env.sh old mode 100644 new mode 100755 diff --git a/docker/playground/conf/hive-env.sh b/docker/playground/conf/hive-env.sh old mode 100644 new mode 100755 diff --git a/docker/playground/conf/kyuubi-env.sh b/docker/playground/conf/kyuubi-env.sh old mode 100644 new mode 100755 diff --git a/docker/playground/conf/spark-env.sh b/docker/playground/conf/spark-env.sh old mode 100644 new mode 100755