From 114ec9a046af40420adbf998aa865e3375bb0d2c Mon Sep 17 00:00:00 2001 From: zhouyifan279 Date: Mon, 27 Sep 2021 12:35:28 +0800 Subject: [PATCH] [KYUUBI #1009][FOLLOWUP] Kyuubi server failed to start when connecting to secured HMS ### _Why are the changes needed?_ Fix #1161 [Bug] Kyuubi server failed to start when connecting to a secured Hive metastore ### _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 ![image](https://user-images.githubusercontent.com/88070094/134811093-264286cd-06cd-48cd-a9bd-8c8d700b31fa.png) - [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1162 from zhouyifan279/KYUUBI#1161. Closes #1009 f5b54818 [zhouyifan279] [KYUUBI #1161][Bug] Kyuubi server failed to start when connecting to a secured Hive metastore Authored-by: zhouyifan279 Signed-off-by: Cheng Pan --- dev/dependencyList | 2 ++ kyuubi-server/pom.xml | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/dev/dependencyList b/dev/dependencyList index 854519710..b50f968b3 100644 --- a/dev/dependencyList +++ b/dev/dependencyList @@ -28,7 +28,9 @@ hadoop-client-api/3.2.2//hadoop-client-api-3.2.2.jar hadoop-client-runtime/3.2.2//hadoop-client-runtime-3.2.2.jar hive-common/2.3.7//hive-common-2.3.7.jar hive-metastore/2.3.7//hive-metastore-2.3.7.jar +hive-serde/2.3.7//hive-serde-2.3.7.jar hive-service-rpc/2.3.7//hive-service-rpc-2.3.7.jar +hive-shims-0.23/2.3.7//hive-shims-0.23-2.3.7.jar hive-shims-common/2.3.7//hive-shims-common-2.3.7.jar hk2-api/2.6.1//hk2-api-2.6.1.jar hk2-locator/2.6.1//hk2-locator-2.6.1.jar diff --git a/kyuubi-server/pom.xml b/kyuubi-server/pom.xml index df79a6bf6..9d1d9df5f 100644 --- a/kyuubi-server/pom.xml +++ b/kyuubi-server/pom.xml @@ -76,11 +76,21 @@ + + org.apache.hive + hive-serde + + org.apache.hive.shims hive-shims-common + + org.apache.hive.shims + hive-shims-0.23 + + org.apache.hive hive-common @@ -172,21 +182,11 @@ hive-jdbc test - - org.apache.hive - hive-serde - test - org.apache.hive hive-service test - - org.apache.hive - hive-shims - test - org.apache.hive