[
https://issues.apache.org/jira/browse/HIVE-21035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721398#comment-16721398
]
Adam Szita commented on HIVE-21035:
-----------------------------------
Committed to master. Thanks [~asinkovits]!
> 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
> Fix For: 4.0.0
>
> Attachments: HIVE-21035.01.patch, HIVE-21035.02.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)