GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/16392
[SPARK-18992] [SQL] Move spark.sql.hive.thriftServer.singleSession to
SQLConf
### What changes were proposed in this pull request?
Since `spark.sql.hive.thriftServer.singleSession` is a configuration of SQL
component, this conf can be moved from `SparkConf` to `StaticSQLConf`.
When we introduced `spark.sql.hive.thriftServer.singleSession`, all the SQL
configuration are session specific. They can be modified in different sessions.
In Spark 2.1, static SQL configuration is added. It is a perfect fit for
`spark.sql.hive.thriftServer.singleSession`. Previously, we did the same move
for `spark.sql.warehouse.dir` from `SparkConf` to `StaticSQLConf`
### How was this patch tested?
Added test cases in HiveThriftServer2Suites.scala
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark hiveThriftServerSingleSession
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16392.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16392
----
commit eafd9ecb2e002db0e9ceca2b3cb7f1bb7a63c787
Author: gatorsmile <[email protected]>
Date: 2016-12-23T20:45:33Z
fix.
commit 50992fadfc6985c13ba9ebf116a1cda681f7a132
Author: gatorsmile <[email protected]>
Date: 2016-12-23T21:08:18Z
Merge remote-tracking branch 'upstream/master' into
hiveThriftServerSingleSession
commit 7c06bd3389db28725fae7c2de513369d2cc1ae08
Author: gatorsmile <[email protected]>
Date: 2016-12-23T21:12:09Z
fix.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]