[BACKPORT][SPARK-17531] Don't initialize Hive Listeners for the Execution Client#15087
Closed
brkyvz wants to merge 6 commits intoapache:branch-1.6from
Closed
[BACKPORT][SPARK-17531] Don't initialize Hive Listeners for the Execution Client#15087brkyvz wants to merge 6 commits intoapache:branch-1.6from
brkyvz wants to merge 6 commits intoapache:branch-1.6from
Conversation
Contributor
Author
|
cc @yhuai |
Contributor
|
LGTM pending jenkins. |
|
Test build #65335 has finished for PR 15087 at commit
|
Contributor
|
Thanks! Merging to branch 1.6. |
asfgit
pushed a commit
that referenced
this pull request
Sep 13, 2016
…tion 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 Author: Burak Yavuz <brkyvz@gmail.com> Closes #15087 from brkyvz/overwrite-hive-listeners.
Contributor
|
I have merged this. |
zzcclp
pushed a commit
to zzcclp/spark
that referenced
this pull request
Sep 14, 2016
…tion 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 Author: Burak Yavuz <brkyvz@gmail.com> Closes apache#15087 from brkyvz/overwrite-hive-listeners. (cherry picked from commit bf3f6d2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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