[ 
https://issues.apache.org/jira/browse/HIVE-28965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020914#comment-18020914
 ] 

Stamatis Zampetakis commented on HIVE-28965:
--------------------------------------------

We shouldn't invest too much effort on making the error disappear or logged at 
a different level but rather try to find a solution so that when the necessary 
credential provider is really needed we can easily diagnose the failure and 
find the root cause (incomplete classpath). 

> tez.DagUtils: Failed to add credential supplier, ClassNotFoundException: 
> org.apache.hadoop.hive.kafka.KafkaDagCredentialSupplier
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-28965
>                 URL: https://issues.apache.org/jira/browse/HIVE-28965
>             Project: Hive
>          Issue Type: Test
>            Reporter: Denys Kuzmenko
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> 2025-05-20T00:06:24,194 ERROR [main] tez.DagUtils: Failed to add credential 
> supplier
> java.lang.ClassNotFoundException: 
> org.apache.hadoop.hive.kafka.KafkaDagCredentialSupplier
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:382) 
> ~[?:1.8.0_262]
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:419) ~[?:1.8.0_262]
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) 
> ~[?:1.8.0_262]
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_262]
>       at java.lang.Class.forName0(Native Method) ~[?:1.8.0_262]
>       at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_262]
>       at 
> org.apache.hadoop.hive.ql.exec.tez.DagUtils.defaultCredentialSuppliers(DagUtils.java:313)
>  [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
>       at 
> org.apache.hadoop.hive.ql.exec.tez.DagUtils.<clinit>(DagUtils.java:184) 
> [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
>       at org.apache.hadoop.hive.ql.plan.TezWork.<init>(TezWork.java:91) 
> [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
>       at 
> org.apache.hadoop.hive.ql.parse.GenTezProcContext.<init>(GenTezProcContext.java:176)
>  [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
>       at 
> org.apache.hadoop.hive.ql.parse.TezCompiler.generateTaskTree(TezCompiler.java:644)
>  [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
>       at 
> org.apache.hadoop.hive.ql.parse.TaskCompiler.compile(TaskCompiler.java:302) 
> [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
>       at 
> org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.compilePlan(SemanticAnalyzer.java:13103)
>  [hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to