lrz created HUDI-1750:
-------------------------
Summary: Fail to load user's class if user move
hudi-spark-bundle_2.11-0.7.0.jar into spark classpath
Key: HUDI-1750
URL: https://issues.apache.org/jira/browse/HUDI-1750
Project: Apache Hudi
Issue Type: Bug
Reporter: lrz
Fix For: 0.9.0
Attachments: image-2021-04-01-10-55-43-760.png
Hudi use Class.forName(clazzName) to load user's class, which classloader is
same as call,see here:
!image-2021-04-01-10-55-43-760.png!
if user move hudi-spark-bundle jar into spark classPath, and use --jar to add
customer jars, then the caller classLoader will be AppClassLoader, and the
customer jars will be load by spark's MutableURLClassLoader, then lead to
ClassNotFoundException
--
This message was sent by Atlassian Jira
(v8.3.4#803005)