[
https://issues.apache.org/jira/browse/HIVE-28382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kokila N updated HIVE-28382:
----------------------------
Description:
*Errors:*
{code:java}
java.lang.NoClassDefFoundError:
org/apache/hadoop/shaded/com/ctc/wstx/io/InputBootstrapper at
org.apache.hive.hcatalog.messaging.MessageFactory.<clinit>(MessageFactory.java:44)
at
org.apache.hive.hcatalog.api.repl.TestReplicationTask.<clinit>(TestReplicationTask.java:40)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method){code}
Hive currently uses hadoop version 3.3.6.
orc-tools and orc-core brings in hadoop 3.3.5 specifically for jdk17
[https://github.com/apache/orc/blob/7878691befc66ecc372ff41715cbdff97ec7aafd/java/pom.xml#L997]
, this creates conflict with shaded paths.
so, we need to exclude hadoop-client-api 3.3.5
was:
*Errors:*
NoClassDefFoundError: org/apache/hadoop/shaded/com/ctc/wstx/io/InputBootstrapper
Hive currently uses hadoop version 3.3.6.
orc-tools and orc-core brings in hadoop 3.3.5 specifically for jdk17
[https://github.com/apache/orc/blob/7878691befc66ecc372ff41715cbdff97ec7aafd/java/pom.xml#L997]
, this creates conflict with shaded paths.
so, we need to exclude hadoop-client-api 3.3.5
> Hadoop shaded class path issue fix
> ----------------------------------
>
> Key: HIVE-28382
> URL: https://issues.apache.org/jira/browse/HIVE-28382
> Project: Hive
> Issue Type: Sub-task
> Reporter: Akshat Mathur
> Assignee: Kokila N
> Priority: Major
>
> *Errors:*
> {code:java}
> java.lang.NoClassDefFoundError:
> org/apache/hadoop/shaded/com/ctc/wstx/io/InputBootstrapper at
> org.apache.hive.hcatalog.messaging.MessageFactory.<clinit>(MessageFactory.java:44)
> at
> org.apache.hive.hcatalog.api.repl.TestReplicationTask.<clinit>(TestReplicationTask.java:40)
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method){code}
>
> Hive currently uses hadoop version 3.3.6.
> orc-tools and orc-core brings in hadoop 3.3.5 specifically for jdk17
> [https://github.com/apache/orc/blob/7878691befc66ecc372ff41715cbdff97ec7aafd/java/pom.xml#L997]
> , this creates conflict with shaded paths.
> so, we need to exclude hadoop-client-api 3.3.5
--
This message was sent by Atlassian Jira
(v8.20.10#820010)