You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fe...@apache.org on 2023/01/29 03:04:43 UTC

[kyuubi] branch master updated: [KYUUBI #4205] Fix typo in TFrontendService

This is an automated email from the ASF dual-hosted git repository.

feiwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 09b3f7256 [KYUUBI #4205] Fix typo in TFrontendService
09b3f7256 is described below

commit 09b3f72561818ee2c8aa327eaeaa246bdcbf991f
Author: fwang12 <fw...@ebay.com>
AuthorDate: Sun Jan 29 11:04:36 2023 +0800

    [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 <fw...@ebay.com>
    Signed-off-by: fwang12 <fw...@ebay.com>
---
 build/dist                                                              | 2 +-
 .../src/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))
     }