GitHub user punya opened a pull request:
https://github.com/apache/spark/pull/6844
[SPARK-8397][SQL] Allow custom configuration for TestHive
We encourage people to use TestHive in unit tests, because it's
impossible to create more than one HiveContext within one process. The
current implementation locks people into using a local[2] SparkContext
underlying their HiveContext. We should make it possible to override
this using a system property so that people can test against
local-cluster or remote spark clusters to make their tests more
realistic.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/punya/spark feature/SPARK-8397
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6844.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 #6844
----
commit 97ef3945125846fde05963b84fc920ec01d6c8fa
Author: Punya Biswal <[email protected]>
Date: 2015-06-16T14:57:14Z
[SPARK-8397][SQL] Allow custom configuration for TestHive
We encourage people to use TestHive in unit tests, because it's
impossible to create more than one HiveContext within one process. The
current implementation locks people into using a local[2] SparkContext
underlying their HiveContext. We should make it possible to override
this using a system property so that people can test against
local-cluster or remote spark clusters to make their tests more
realistic.
----
---
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]