-
- Downloads
[SPARK-11089][SQL] Adds option for disabling multi-session in Thrift server
This PR adds a new option `spark.sql.hive.thriftServer.singleSession` for disabling multi-session support in the Thrift server. Note that this option is added as a Spark configuration (retrieved from `SparkConf`) rather than Spark SQL configuration (retrieved from `SQLConf`). This is because all SQL configurations are session-ized. Since multi-session support is by default on, no JDBC connection can modify global configurations like the newly added one. Author: Cheng Lian <lian@databricks.com> Closes #9740 from liancheng/spark-11089.single-session-option.
Showing
- docs/sql-programming-guide.md 14 additions, 0 deletionsdocs/sql-programming-guide.md
- sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLSessionManager.scala 5 additions, 1 deletion.../spark/sql/hive/thriftserver/SparkSQLSessionManager.scala
- sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala 50 additions, 1 deletion...spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala 3 additions, 0 deletions...rc/main/scala/org/apache/spark/sql/hive/HiveContext.scala
Loading
Please register or sign in to comment