GitHub user yhuai opened a pull request:
https://github.com/apache/spark/pull/14058
[SPARK-15730][SQL] Respect the --hiveconf in the spark-sql command line
## What changes were proposed in this pull request?
This PR makes spark-sql (backed by SparkSQLCLIDriver) respects confs set by
hiveconf, which is what we do in previous versions. The change is that when we
start SparkSQLCLIDriver, we explicitly set confs set through --hiveconf to
SQLContext's conf (basically treating those confs as a SparkSQL conf).
## How was this patch tested?
A new test in CliSuite.
Closes #13542
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yhuai/spark hiveConfThriftServer
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14058.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 #14058
----
commit ed644bc25748de0171b987e42182692cd39e3f75
Author: Cheng Hao <[email protected]>
Date: 2016-06-07T14:55:27Z
respect the --hiveconf in the SparkSQLCliDriver commandline
commit af1a60ad4c9eb8b8dd2aebb7f8ac8100dd2742ec
Author: Cheng Hao <[email protected]>
Date: 2016-06-08T00:57:34Z
update the unit test
commit 3aeb7be2d30a6793e850605e2784f354c33cc9f9
Author: Yin Huai <[email protected]>
Date: 2016-07-05T22:02:06Z
Update
----
---
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]