Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/9740#discussion_r44964862
--- Diff:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
---
@@ -635,6 +683,7 @@ abstract class HiveThriftServer2Test extends
SparkFunSuite with BeforeAndAfterAl
| --driver-class-path $driverClassPath
| --driver-java-options -Dlog4j.debug
| --conf spark.ui.enabled=false
+ | ${extraConf.mkString("\n")}
--- End diff --
Do you mean something like `--single-session`? The benefit of `SparkConf`
option is that users can add it in spark-defaults.conf.
Command line options of `start-thriftserver.sh` are parsed by both
`SparkSubmit` and `HiveServer2.ServerOptionsProcessor`. The latter isn't
extensible. One option is to add a `--single-session` option in `SparkSubmit`
and make a synonymous of `--conf
spark.sql.hive.thriftServer.singleSession=true`. However, this option doesn't
seem to be general enough to be added in `SparkSubmit`.
---
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]