danny0405 commented on issue #3657:
URL: https://github.com/apache/hudi/issues/3657#issuecomment-920487082


   > > you may need to past the "caused by" part of the error stack trace.
   > > yes, I see the the "caused by" part of the error stack trace:
   > 
   > Caused by: org.apache.flink.util.FlinkRuntimeException: Failed to start 
the operator coordinators
   > at 
org.apache.flink.runtime.scheduler.SchedulerBase.startAllOperatorCoordinators(SchedulerBase.java:1258)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:624)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.jobmaster.JobMaster.startScheduling(JobMaster.java:1032)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) 
~[?:1.8.0_144]
   > ... 27 more
   > Caused by: org.apache.hudi.exception.HoodieException: Unable to load class
   > at 
org.apache.hudi.common.util.ReflectionUtils.getClass(ReflectionUtils.java:58) 
~[?:?]
   > at 
org.apache.hudi.common.config.HoodieConfig.setDefaults(HoodieConfig.java:100) 
~[?:?]
   > at 
org.apache.hudi.config.HoodieCompactionConfig.access$100(HoodieCompactionConfig.java:51)
 ~[?:?]
   > at 
org.apache.hudi.config.HoodieCompactionConfig$Builder.build(HoodieCompactionConfig.java:607)
 ~[?:?]
   > at 
org.apache.hudi.util.StreamerUtil.getHoodieClientConfig(StreamerUtil.java:173) 
~[?:?]
   > at 
org.apache.hudi.util.StreamerUtil.createWriteClient(StreamerUtil.java:317) 
~[?:?]
   > at 
org.apache.hudi.sink.StreamWriteOperatorCoordinator.start(StreamWriteOperatorCoordinator.java:153)
 ~[?:?]
   > at 
org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder.start(OperatorCoordinatorHolder.java:189)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.scheduler.SchedulerBase.startAllOperatorCoordinators(SchedulerBase.java:1253)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:624)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.jobmaster.JobMaster.startScheduling(JobMaster.java:1032)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) 
~[?:1.8.0_144]
   > ... 27 more
   > Caused by: java.lang.ClassNotFoundException: 
org.apache.hudi.config.HoodieCompactionConfig
   > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
~[?:1.8.0_144]
   > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_144]
   > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) 
~[?:1.8.0_144]
   > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_144]
   > at java.lang.Class.forName0(Native Method) ~[?:1.8.0_144]
   > at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_144]
   > at 
org.apache.hudi.common.util.ReflectionUtils.getClass(ReflectionUtils.java:54) 
~[?:?]
   > at 
org.apache.hudi.common.config.HoodieConfig.setDefaults(HoodieConfig.java:100) 
~[?:?]
   > at 
org.apache.hudi.config.HoodieCompactionConfig.access$100(HoodieCompactionConfig.java:51)
 ~[?:?]
   > at 
org.apache.hudi.config.HoodieCompactionConfig$Builder.build(HoodieCompactionConfig.java:607)
 ~[?:?]
   > at 
org.apache.hudi.util.StreamerUtil.getHoodieClientConfig(StreamerUtil.java:173) 
~[?:?]
   > at 
org.apache.hudi.util.StreamerUtil.createWriteClient(StreamerUtil.java:317) 
~[?:?]
   > at 
org.apache.hudi.sink.StreamWriteOperatorCoordinator.start(StreamWriteOperatorCoordinator.java:153)
 ~[?:?]
   > at 
org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder.start(OperatorCoordinatorHolder.java:189)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.scheduler.SchedulerBase.startAllOperatorCoordinators(SchedulerBase.java:1253)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:624)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
org.apache.flink.runtime.jobmaster.JobMaster.startScheduling(JobMaster.java:1032)
 ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   > at 
java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) 
~[?:1.8.0_144]
   > ... 27 more
   
   This is the problem of the classloader, which is fixed in branch: 
https://github.com/apache/hudi/pull/3519 and master


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to