Github user zuotingbing commented on the issue:

    https://github.com/apache/spark/pull/19989
  
    as i debug, every time when i connect to thrift server through beeline, the 
`SessionState.start(state)` will be called two times. one is in 
`HiveSessionImpl:open` , **another is in `HiveClientImpl` for sql `use 
default`** .
    SessionManager.java#L151 or `HiveSessionImpl:close` only to clean the first.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to