GitHub user zjffdu opened a pull request:
https://github.com/apache/spark/pull/13160
[SPARK-15345][SQL][PYSPARK]. SparkSession's conf doesn't take effect when
this already an existing SparkContext
## What changes were proposed in this pull request?
Override the existing SparkContext is the provided SparkConf is different.
PySpark part hasn't been fixed yet, will do that after the first round of
review to ensure this is the correct approach.
## How was this patch tested?
Manually verify it in spark-shell.
@rxin Please help review it, I think this is a very critical issue for
spark 2.0
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zjffdu/spark SPARK-15345
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13160.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 #13160
----
commit 7db59810a6039c56d9f289acc6612ad1d3ad1bdb
Author: Jeff Zhang <[email protected]>
Date: 2016-05-18T02:16:44Z
[SPARK-15345][SQL][PYSPARK]. Cannot connect to Hive databases
----
---
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]