Github user taroplus commented on the issue:

    https://github.com/apache/spark/pull/17074
  
    @holdenk 
    I believe this was introduced in this change
    
https://github.com/apache/spark/commit/fa0524fd02eedd0bbf1edc750dc3997a86ea25f5#diff-bb538fda94224dd0af01d0fd7e1b4ea0R39
    
    the change is to stop passing 'parent' to the parent class(ClassLoader), 
however this introduced a link between ExecutorClassLoader to SystemClassLoader.
    
    Most of the time, SystemClassLoader is parent loader itself. Then it causes 
issues with userClassPathFirst (SPARK-18646) and if it is not parent loader, it 
causes issues like InvalidClassException(SPARK-19675)
    
    I added a UT for this


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