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/08/09 11:24:20 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #3200] Make KyuubiSessionEvent.sessionId clear

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 875fedd17 [KYUUBI #3200] Make KyuubiSessionEvent.sessionId clear
875fedd17 is described below

commit 875fedd170228a50715cc5bfcff682e79ba6f53e
Author: Wang Zhen <wa...@qiyi.com>
AuthorDate: Tue Aug 9 19:24:10 2022 +0800

    [KYUUBI #3200] Make KyuubiSessionEvent.sessionId clear
    
    ### _Why are the changes needed?_
    
    close #3200
    
    ### _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 #3201 from wForget/KYUUBI-3200.
    
    Closes #3200
    
    faf5de1a [Wang Zhen] [KYUUBI-3200] Make KyuubiSessionEvent.sessionId clear
    
    Authored-by: Wang Zhen <wa...@qiyi.com>
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 .../src/main/scala/org/apache/kyuubi/events/KyuubiSessionEvent.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiSessionEvent.scala b/kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiSessionEvent.scala
index 0cd44188c..36bf2f811 100644
--- a/kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiSessionEvent.scala
+++ b/kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiSessionEvent.scala
@@ -64,7 +64,7 @@ object KyuubiSessionEvent {
     assert(KyuubiServer.kyuubiServer != null)
     val serverIP = KyuubiServer.kyuubiServer.frontendServices.head.connectionUrl
     KyuubiSessionEvent(
-      session.handle.toString,
+      session.handle.identifier.toString,
       session.protocol.getValue,
       session.sessionType.toString,
       session.name.getOrElse(""),