Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/322#issuecomment-39674063
  
    Hey @ueshin @manku-timma - as a simpler fix, would it be possible to just 
change the way SparkEnv captures the class loader? I think it was probably just 
an oversight when that was added. If there is not a context class loader, then 
it should just load the bootstrap class loader:
    
    ```
    val classLoader = 
Option(Thread.currentThread.getContextClassLoader).getOrElse(getClass.getClassLoader)
    ```


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