Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/15#issuecomment-38758426
  
    Ya okay I see. I'm wondering if there is some reason this needs to be set 
when running in non-local modes. It looks like this was added a really long 
time ago and stuck around through several refactorings:
    
    
https://github.com/apache/spark/commit/b864c36a#diff-40f975518e47d34cc8ecd7a49440228dR50
    
    One thing we could do to be safe is something like this:
    ```
    if (!isLocal) Thread.currentThread.setContextClassLoader(replClassLoader)
    ```
    
    Or if we wanted to be more cavalier we could just remove it entirely.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to