-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69022/
-----------------------------------------------------------

Review request for hive, Sahil Takiar and Adam Szita.


Bugs: HIVE-20737
    https://issues.apache.org/jira/browse/HIVE-20737


Repository: hive-git


Description
-------

SparkContext is shared between user sessions and should be closed only when 
there is no active one.
Possible race condition in SparkSession.open()


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/spark/LocalHiveSparkClient.java 
72ff53e3bd 
  
ql/src/java/org/apache/hadoop/hive/ql/exec/spark/session/SparkSessionImpl.java 
bb50129518 
  
ql/src/test/org/apache/hadoop/hive/ql/exec/spark/TestLocalHiveSparkClient.java 
PRE-CREATION 


Diff: https://reviews.apache.org/r/69022/diff/1/


Testing
-------

Added TestLocalHiveSparkClient test


Thanks,

denys kuzmenko

Reply via email to