You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Shohei Okumiya (Jira)" <ji...@apache.org> on 2025/04/14 06:39:00 UTC

[jira] [Resolved] (HIVE-12689) Support multiple spark sessions in one Hive Session

     [ https://issues.apache.org/jira/browse/HIVE-12689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shohei Okumiya resolved HIVE-12689.
-----------------------------------
    Fix Version/s: NA
       Resolution: Won't Fix

We have discontinued Hive on Spark and EoLed Hive 3. HIVE-26134

> Support multiple spark sessions in one Hive Session
> ---------------------------------------------------
>
>                 Key: HIVE-12689
>                 URL: https://issues.apache.org/jira/browse/HIVE-12689
>             Project: Hive
>          Issue Type: Improvement
>          Components: Spark
>            Reporter: Nemon Lou
>            Priority: Major
>             Fix For: NA
>
>
> As discussed in HIVE-12538,in case of one Hive Connection been used concurrently,there should be more than one spark sessions for that connection.
> {quote}
>  A hive session may "own" more than one spark session in case of asynchronous queries. If a spark session is live (used to run a spark job), that spark session will not be used to run the next job. Therefore, whenever whenever a spark configuration change is detected in Hive session, we need to mark all the live Spark sessions as outdated. When we are getting a session from the pool and check if the flag is set, then we destroy it and get a new one. 
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)