[ 
https://issues.apache.org/jira/browse/HIVE-9289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286161#comment-14286161
 ] 

Chinna Rao Lalam commented on HIVE-9289:
----------------------------------------

I have verified this code, reusing the session is not happening because as 
[~chengxiang li] explained 
Hive Client->SessionHandler(session id inside)-> 
HiveSessionImpl->SessionState->SparkSession this linear mapping is maintained.
Updated the patch by removing that code.

> TODO : Store user name in session [Spark Branch]
> ------------------------------------------------
>
>                 Key: HIVE-9289
>                 URL: https://issues.apache.org/jira/browse/HIVE-9289
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-9289.1-spark.patch, HIVE-9289.2-spark.patch
>
>
> TODO  : this we need to store the session username somewhere else as 
> getUGIForConf never used the conf SparkSessionManagerImpl.java 
> /hive-exec/src/java/org/apache/hadoop/hive/ql/exec/spark/session line 145 
> Java Task



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to