Github user GrahamDennis commented on the pull request:

    https://github.com/apache/spark/pull/1948#issuecomment-52253274
  
    I need to look at this more closely, but would it be simpler if we renamed 
`Utils.getContextOrSparkClassLoader` to `Utils.getUserJarOrSparkClassLoader`, 
and added a `Utils.setUserJarClassLoader` method which is called by `Executor` 
when it is instantiated?  Then, `KryoSerializer` would use 
`Utils.getUserJarOrSparkClassLoader` rather than 
`Thread.currentThread.getContextClassLoader`.


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