GitHub user WangTaoTheTonic opened a pull request:
https://github.com/apache/spark/pull/6314
[SPARK-7758][SQL]delete the executionHive to avoid failure when connect to
a postgre sql
https://issues.apache.org/jira/browse/SPARK-7758
I think that `executionHive` is a relief for `metadataHive` when `create
temporary function` and it is not propriate to creating a local metastore to do
such thing as it is kinda a hack thing and leads to error like what this JIRA
said when we connected postgre sql as metastore.
So I delete it but am not sure if it will impact other by removing the
clause `SessionState.setCurrentSessionState(executionHive.state)`.
@marmbrus Could you help check this, as you reconstruct codes
here(https://github.com/apache/spark/commit/cd1d4110cfffb413ab585cf1cc8f1264243cb393#diff-ff50aea397a607b79df9bec6f2a841db)?
Thanks very much.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WangTaoTheTonic/spark SPARK-7758
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6314.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 #6314
----
commit 21bf202ecc03b131ec7a4438cc988b16d380a35b
Author: WangTaoTheTonic <[email protected]>
Date: 2015-05-21T07:00:00Z
delete the executionHive
----
---
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]