From 7b8f7108c873b18d645f60eadd62d296bf7750ef Mon Sep 17 00:00:00 2001 From: hezhao2 Date: Wed, 10 Apr 2024 15:01:22 +0800 Subject: [PATCH] [KYUUBI #6252] Upgrade hive-service-rpc 4.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— close #6252 ## Describe Your Solution ๐Ÿ”ง Upgrade hive-service-rpc 4.0.0 ## Types of changes :bookmark: - [ ] 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 ๐Ÿงช Pass existing tests --- # 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 #6262 from zhaohehuhu/dev-0407. Closes #6252 d7df86d93 [Cheng Pan] address comments 9bdf04eb2 [hezhao2] delete code fd7b231c1 [hezhao2] delete code d52468754 [hezhao2] reformat 88c004474 [hezhao2] throws UnsupportedOperationException for UploadData and DownloadData method in TFrontendService 62c5b89fb [Cheng Pan] Update pom.xml 1ac087c4c [Cheng Pan] Update pom.xml 78bca3a0d [hezhao2] Upgrade hive-service-rpc 4.0.0 Lead-authored-by: hezhao2 Co-authored-by: Cheng Pan Co-authored-by: Cheng Pan Signed-off-by: Cheng Pan (cherry picked from commit b9c97dd61a225b8e6cdf4862c385b9fa08e2c866) Signed-off-by: Cheng Pan --- .../org/apache/kyuubi/service/TFrontendService.scala | 10 ++++++++++ pom.xml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala b/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala index 32e004505..40e44ac40 100644 --- a/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala +++ b/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala @@ -594,6 +594,16 @@ abstract class TFrontendService(name: String) resp } + override def UploadData(req: TUploadDataReq): TUploadDataResp = { + debug(req.toString) + throw KyuubiSQLException.featureNotSupported("Method UploadData has not been implemented.") + } + + override def DownloadData(req: TDownloadDataReq): TDownloadDataResp = { + debug(req.toString) + throw KyuubiSQLException.featureNotSupported("Method DownloadData has not been implemented.") + } + protected def isServer(): Boolean = false class FeTServerEventHandler extends TServerEventHandler { diff --git a/pom.xml b/pom.xml index 213e786f2..d2f1925eb 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@ 4.13.2 3.5.2 6.8.1 - 0.3.0 + 0.4.0 kyuubi-relocated-zookeeper-34 6.0.5 2.20.0