GitHub user michellemay opened a pull request:

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

    Refactor Utils class to create ShutdownHookManager

    Branch: master
    
    Fix issue with log4j being initialized too early.  Custom spark class 
loader is not set on thread context preventing the use of custom appenders and 
layout engines in log4j.properties.
    
    As discussed here:
    
http://apache-spark-user-list.1001560.n3.nabble.com/log4j-custom-appender-ClassNotFoundException-with-spark-1-4-1-tt24159.html
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michellemay/spark master

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

    https://github.com/apache/spark/pull/8105.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 #8105
    
----
commit 8a4607c98df46b410053a6b516529166d4590a0f
Author: michellemay <[email protected]>
Date:   2015-08-11T13:55:15Z

    Refactor Utils class to create ShutdownHookManager.
    It fixes a problem where log4j gets initialized before spark class loader 
is set on thread context.

commit 417e148e7e134e57d487b9b1c74d2bc21bc1acc0
Author: michellemay <[email protected]>
Date:   2015-08-11T14:06:24Z

    Refactor Utils class to create ShutdownHookManager.
    It fixes a problem where log4j gets initialized before spark class loader 
is set on thread context.

----


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