[ https://issues.apache.org/jira/browse/HIVE-20737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650474#comment-16650474 ]
Denys Kuzmenko commented on HIVE-20737: --------------------------------------- [~stakiar] could you please review the patch. As the separate JIRA we are planning to refactor SparkSession open/submit functionality to be an atomic unit. > SparkContext is shared between user sessions and should be closed only when > there is no active one > -------------------------------------------------------------------------------------------------- > > Key: HIVE-20737 > URL: https://issues.apache.org/jira/browse/HIVE-20737 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Denys Kuzmenko > Assignee: Denys Kuzmenko > Priority: Major > Attachments: HIVE-20737.1.patch, HIVE-20737.2.patch, > HIVE-20737.5.patch, HIVE-20737.6.patch, HIVE-20737.7.patch > > > 1. SparkContext is shared between user sessions and should be closed only > when there is no active one. > 2. Possible race condition in SparkSession.open() in case of user queries run > in parallel within a single session. -- This message was sent by Atlassian JIRA (v7.6.3#76005)