[ 
https://issues.apache.org/jira/browse/HIVE-28382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kokila N resolved HIVE-28382.
-----------------------------
    Fix Version/s: NA
       Resolution: Duplicate

JIRA: HIVE-26473 

PR: [PR-5404|https://github.com/apache/hive/pull/5404] 

Commit : 
[https://github.com/apache/hive/pull/5404/commits/89b61a09d2f6c5baed208e619c9ba6c7678dc600]
 

> 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
>             Fix For: NA
>
>
> *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)

Reply via email to