[
https://issues.apache.org/jira/browse/HIVE-28965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020884#comment-18020884
]
Kiran Velumuri commented on HIVE-28965:
---------------------------------------
Yes [~zabetak], the tests are not using Kafka and do not need a credential
supplier.
[~dkuzmenko] Yes, I was also thinking along similar lines. We could have a
config - hive.kafka.credential.supplier.enabled, set to false by default. And
depending on this config value, we could instantiate the
{code:java}
List<String> supplierClassNames
{code}
with KafkaDagCredentialSupplier class or else it would be an empty list. This
way the error would also not be logged.
> 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
>
> {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)