GitHub user brkyvz opened a pull request:

    https://github.com/apache/spark/pull/15086

    [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 null-listeners

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15086.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 #15086
    
----
commit c2c7d67daebdad2353749048a5b190b1a884c7fb
Author: Burak Yavuz <[email protected]>
Date:   2016-09-13T19:45:32Z

    save

commit b2de15e4d42bb00c89f0ddff442e715480979f87
Author: Burak Yavuz <[email protected]>
Date:   2016-09-13T20:31:37Z

    added tests

----


---
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]

Reply via email to