akshat0395 commented on code in PR #5404:
URL: https://github.com/apache/hive/pull/5404#discussion_r1742276430


##########
common/pom.xml:
##########
@@ -34,6 +34,11 @@
       <artifactId>hive-classification</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.avro</groupId>

Review Comment:
   Hi @Indhumathi27,
   The issue arose because Hadoop was including the Avro shaded dependency 
through hadoop-client-api, which in turn was pulled in by orc-core. With JDK 
17's reflection changes, Avro's Stringable class became inaccessible. To 
resolve this, we excluded hadoop-client-api from orc-core which was not 
required and creating conflict and added Avro explicitly, as we still require 
this dependency.
   You can find more details about the error in the ticket description here: 
[HIVE-28464](https://issues.apache.org/jira/browse/HIVE-28464).
   
   This change fix the issue



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to