From 6aac3e66fefecd1df5244e568ad5ad452af130da Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Wed, 15 Mar 2023 20:57:31 +0800 Subject: [PATCH] [KYUUBI #4513] Bump Kyuubi 1.7.0 in Playground ### _Why are the changes needed?_ Upgrade Kyuubi 1.7.0 and enable REST protocol ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4513 from pan3793/playground. Closes #4513 96d25daf8 [Cheng Pan] expose 10099 d163353a9 [Cheng Pan] Bump Kyuubi 1.7.0 in Playground Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- docker/playground/.env | 2 +- docker/playground/compose.yml | 1 + docker/playground/conf/kyuubi-defaults.conf | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/playground/.env b/docker/playground/.env index abd897192..d03cdddff 100644 --- a/docker/playground/.env +++ b/docker/playground/.env @@ -19,7 +19,7 @@ AWS_JAVA_SDK_VERSION=1.12.239 HADOOP_VERSION=3.3.1 HIVE_VERSION=2.3.9 ICEBERG_VERSION=1.1.0 -KYUUBI_VERSION=1.6.1-incubating +KYUUBI_VERSION=1.7.0 KYUUBI_HADOOP_VERSION=3.3.4 POSTGRES_VERSION=12 POSTGRES_JDBC_VERSION=42.3.4 diff --git a/docker/playground/compose.yml b/docker/playground/compose.yml index 14658d894..b0d2b1ea8 100644 --- a/docker/playground/compose.yml +++ b/docker/playground/compose.yml @@ -68,6 +68,7 @@ services: ports: - 4040-4050:4040-4050 - 10009:10009 + - 10099:10099 volumes: - ./conf/core-site.xml:/etc/hadoop/conf/core-site.xml - ./conf/hive-site.xml:/etc/hive/conf/hive-site.xml diff --git a/docker/playground/conf/kyuubi-defaults.conf b/docker/playground/conf/kyuubi-defaults.conf index 4906c5de4..15b3fbf6e 100644 --- a/docker/playground/conf/kyuubi-defaults.conf +++ b/docker/playground/conf/kyuubi-defaults.conf @@ -18,8 +18,10 @@ ## Kyuubi Configurations kyuubi.authentication=NONE -kyuubi.frontend.thrift.binary.bind.host=0.0.0.0 +kyuubi.frontend.bind.host=0.0.0.0 +kyuubi.frontend.protocols=THRIFT_BINARY,REST kyuubi.frontend.thrift.binary.bind.port=10009 +kyuubi.frontend.rest.bind.port=10099 kyuubi.ha.addresses=zookeeper:2181 kyuubi.session.engine.idle.timeout=PT5M kyuubi.operation.incremental.collect=true