GitHub user brkyvz opened a pull request:
https://github.com/apache/spark/pull/15087
[BACKPORT][SPARK-17531] Don't initialize Hive Listeners for the Execution
Client
## What changes were proposed in this pull request?
If a user provides listeners inside the Hive Conf, the configuration for
these listeners are passed to the Hive Execution Client as well. This may cause
issues for two reasons:
1. The Execution Client will actually generate garbage
2. The listener class needs to be both in the Spark Classpath and Hive
Classpath
This PR empties the listener configurations in
HiveUtils.newTemporaryConfiguration so that the execution client will not
contain the listener confs, but the metadata client will.
## How was this patch tested?
Unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brkyvz/spark overwrite-hive-listeners
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15087.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 #15087
----
----
---
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]