Description
As discussed in https://issues.apache.org/jira/browse/SPARK-4908, concurrent hive native commands run into thread-safety issues with org.apache.hadoop.hive.ql.Driver.
The quick-fix was to synchronize calls to runHive:
https://github.com/apache/spark/commit/480bd1d2edd1de06af607b0cf3ff3c0b16089add
However, if the hive native command is long-running, this can block subsequent queries if they have native dependencies.
Attachments
Issue Links
- is duplicated by
-
SPARK-6507 Create separate Hive Driver instance for each SQL query in HiveThriftServer2
- Resolved