You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/09/08 09:10:09 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #3051][FOLLOWUP] Remove redundant serverIpAddress method in SparkSessionImpl

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8f7a4f558 [KYUUBI #3051][FOLLOWUP] Remove redundant serverIpAddress method in SparkSessionImpl
8f7a4f558 is described below

commit 8f7a4f55898e24794ac873d737e3e8dce96b2a00
Author: Wang Zhen <wa...@qiyi.com>
AuthorDate: Thu Sep 8 09:07:19 2022 +0000

    [KYUUBI #3051][FOLLOWUP] Remove redundant serverIpAddress method in SparkSessionImpl
    
    ### _Why are the changes needed?_
    
    Followup #3051 according to https://github.com/apache/incubator-kyuubi/pull/3048#discussion_r964128135
    
    ### _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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #3455 from wForget/KYUUBI-3051-followup.
    
    Closes #3051
    
    51e0cba6 [Wang Zhen] [KYUUBI-3051][FOLLOWUP] Remove redundant serverIpAddress method in SparkSessionImpl
    
    Authored-by: Wang Zhen <wa...@qiyi.com>
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 .../scala/org/apache/kyuubi/engine/spark/session/SparkSessionImpl.scala | 2 --
 1 file changed, 2 deletions(-)

diff --git a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/session/SparkSessionImpl.scala b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/session/SparkSessionImpl.scala
index eda7028cb..4985b95ac 100644
--- a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/session/SparkSessionImpl.scala
+++ b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/session/SparkSessionImpl.scala
@@ -49,8 +49,6 @@ class SparkSessionImpl(
 
   private val sessionEvent = SessionEvent(this)
 
-  def serverIpAddress(): String = serverIpAddress
-
   override def open(): Unit = {
     normalizedConf.foreach {
       case ("use:database", database) =>