[ https://issues.apache.org/jira/browse/HIVE-9289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268105#comment-14268105 ]
Xuefu Zhang commented on HIVE-9289: ----------------------------------- Maybe I don't fully understand the code, but it seems a little concerning that session is reused purely based on user name. Hive supports multiple sessions for the same user, and we don't want such session is reused. I also have a feeling that we don't have any session reuse (though we have code here and there for that). If that's the case, we'd rather just get rid of the code. [~chengxiang li], could you comment on this? > 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 > > > 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)