GitHub user michellemay opened a pull request:
https://github.com/apache/spark/pull/8106
Refactor Utils class to create ShutdownHookManager (branch-1.4)
Branch: branch-1.4
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 branch-1.4
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8106.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 #8106
----
commit 6eaa5de4a39aabf530b831c28cf5f5e44bfda979
Author: michellemay <[email protected]>
Date: 2015-08-11T13:58:32Z
Refactor Utils class to create ShutdownHookManager. It fixes a problem
where log4j gets initialized before spark class loader is set on thread context.
commit a48cbc3c7811a1c90fe9f1e50a4de49a0cc4f38d
Author: michellemay <[email protected]>
Date: 2015-08-11T14:01:56Z
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]