Nemon Lou created HIVE-12689:
--------------------------------

             Summary: 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


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
(v6.3.4#6332)

Reply via email to