diff options
author | Cheng Hao <hao.cheng@intel.com> | 2015-03-17 01:09:27 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2015-03-17 01:09:27 +0800 |
commit | 12a345adcbaee359199ddfed4f41bf0e19d66d48 (patch) | |
tree | 3e1a93a7952024af0c14945efd577c79461231c2 /docker | |
parent | 00e730b94cba1202a73af1e2476ff5a44af4b6b2 (diff) | |
download | spark-12a345adcbaee359199ddfed4f41bf0e19d66d48.tar.gz spark-12a345adcbaee359199ddfed4f41bf0e19d66d48.tar.bz2 spark-12a345adcbaee359199ddfed4f41bf0e19d66d48.zip |
[SPARK-2087] [SQL] Multiple thriftserver sessions with single HiveContext instance
Still, we keep only a single HiveContext within ThriftServer, and we also create a object called `SQLSession` for isolating the different user states.
Developers can obtain/release a new user session via `openSession` and `closeSession`, and `SQLContext` and `HiveContext` will also provide a default session if no `openSession` called, for backward-compatibility.
Author: Cheng Hao <hao.cheng@intel.com>
Closes #4885 from chenghao-intel/multisessions_singlecontext and squashes the following commits:
1c47b2a [Cheng Hao] rename the tss => tlSession
815b27a [Cheng Hao] code style issue
57e3fa0 [Cheng Hao] openSession is not compatible between Hive0.12 & 0.13.1
4665b0d [Cheng Hao] thriftservice with single context
Diffstat (limited to 'docker')
0 files changed, 0 insertions, 0 deletions