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

Xuefu Zhang commented on HIVE-21035:
------------------------------------

[~asinkovits] Thanks for working on this. Maybe I have missed something, but 
I'm wondering how multiple app masters can be created in one session. My 
understanding is that at most one master is created for one session while 
multiple queries can be submitted to the app master.

> Race condition in SparkUtilities#getSparkSession
> ------------------------------------------------
>
>                 Key: HIVE-21035
>                 URL: https://issues.apache.org/jira/browse/HIVE-21035
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 4.0.0
>            Reporter: Antal Sinkovits
>            Assignee: Antal Sinkovits
>            Priority: Major
>         Attachments: HIVE-21035.01.patch
>
>
> It can happen, that when in one given session, multiple queries are executed, 
> that due to a race condition, multiple spark application master gets kicked 
> off.
> In this case, the one that started earlier, will not be killed, when the hive 
> session closes, consuming resources.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to