Cherry-Puppy commented on issue #3680:
URL: https://github.com/apache/hudi/issues/3680#issuecomment-951685884


   > Did your program throw the same exception in this issue ? Did you also 
specify the bundle jar through `-j` option ?
   
   ERROR org.apache.hudi.sink.StreamWriteOperatorCoordinator - Executor 
executes action [sync hive metadata for instant 20211026160244] error
   java.lang.ExceptionInInitializerError: null
        at 
org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:247) ~[?:?]
        at 
org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:231) 
~[?:?]
        at org.apache.hadoop.hive.ql.metadata.Hive.<init>(Hive.java:388) ~[?:?]
        at org.apache.hadoop.hive.ql.metadata.Hive.create(Hive.java:332) ~[?:?]
        at org.apache.hadoop.hive.ql.metadata.Hive.getInternal(Hive.java:312) 
~[?:?]
        at org.apache.hadoop.hive.ql.metadata.Hive.get(Hive.java:288) ~[?:?]
        at 
org.apache.hudi.hive.ddl.HMSDDLExecutor.<init>(HMSDDLExecutor.java:66) ~[?:?]
        at 
org.apache.hudi.hive.HoodieHiveClient.<init>(HoodieHiveClient.java:75) ~[?:?]
        at org.apache.hudi.hive.HiveSyncTool.<init>(HiveSyncTool.java:80) ~[?:?]
        at 
org.apache.hudi.sink.utils.HiveSyncContext.hiveSyncTool(HiveSyncContext.java:51)
 ~[?:?]
        at 
org.apache.hudi.sink.StreamWriteOperatorCoordinator.syncHive(StreamWriteOperatorCoordinator.java:305)
 ~[?:?]
        at 
org.apache.hudi.sink.utils.NonThrownExecutor.lambda$execute$0(NonThrownExecutor.java:67)
 ~[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_232]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_232]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
   Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: 
org.apache.hadoop.hive.ql.udf.UDFSubstr
        at 
org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge.getUdfClass(GenericUDFBridge.java:134)
 ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.FunctionInfo.getFunctionClass(FunctionInfo.java:151)
 ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.addFunction(Registry.java:519) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.registerUDF(Registry.java:163) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.registerUDF(Registry.java:154) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.registerUDF(Registry.java:147) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(FunctionRegistry.java:194)
 ~[?:?]
        ... 15 more
   Caused by: java.lang.ClassNotFoundException: 
org.apache.hadoop.hive.ql.udf.UDFSubstr
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382) 
~[?:1.8.0_232]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_232]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) 
~[?:1.8.0_232]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_232]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_232]
        at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_232]
        at 
org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge.getUdfClassInternal(GenericUDFBridge.java:142)
 ~[?:?]
        at 
org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge.getUdfClass(GenericUDFBridge.java:132)
 ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.FunctionInfo.getFunctionClass(FunctionInfo.java:151)
 ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.addFunction(Registry.java:519) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.registerUDF(Registry.java:163) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.registerUDF(Registry.java:154) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.Registry.registerUDF(Registry.java:147) ~[?:?]
        at 
org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(FunctionRegistry.java:194)
 ~[?:?]


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