From 09b3f72561818ee2c8aa327eaeaa246bdcbf991f Mon Sep 17 00:00:00 2001 From: fwang12 Date: Sun, 29 Jan 2023 11:04:36 +0800 Subject: [PATCH] [KYUUBI #4205] Fix typo in TFrontendService ### _Why are the changes needed?_ Duplicate with https://github.com/apache/kyuubi/blob/5357a0211bd50e3789a5cffb43e104587586a287/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala#L265-L280 ### _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 #4205 from turboFei/fix_typo_log. Closes #4205 4822cbf96 [fwang12] fix typo 0009e3f7c [fwang12] fix typo Authored-by: fwang12 Signed-off-by: fwang12 --- build/dist | 2 +- .../main/scala/org/apache/kyuubi/service/TFrontendService.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/dist b/build/dist index de18f59c1..7b51886df 100755 --- a/build/dist +++ b/build/dist @@ -18,7 +18,7 @@ # # -# Script to create a binary distribution for easy deploys of Spark. +# Script to create a binary distribution for easy deploys of Kyuubi. # The distribution directory defaults to dist/ but can be overridden below. # The distribution contains fat (assembly) jars that include the Scala library, # so it is completely self contained. 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 4efc61786..16d5c24f9 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 @@ -228,7 +228,7 @@ abstract class TFrontendService(name: String) resp.setStatus(OK_STATUS) } catch { case e: Exception => - error("Error getting type info: ", e) + error("Error getting info: ", e) resp.setInfoValue(TGetInfoValue.lenValue(0)) resp.setStatus(KyuubiSQLException.toTStatus(e)) }