Github user rxin commented on the pull request:
https://github.com/apache/spark/pull/1948#issuecomment-52261485
The problem is that we are not setting the current thread's (the thread
running the kryo init) context classloader.
I see two solutions:
1. Set the current thread context classloader to the default classloader
set by user when we call reg.registerClasses. I tried implementing this and the
test becomes green.
2. Add to the KryoRegistrator trait an API to get the right classloader.
What do you think?
---
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]