Skip to content

Commit

Permalink
ODP-1841: Hive - HMS | Unable to run hive queries (#35)
Browse files Browse the repository at this point in the history
* ODP-1838: handling NoClassDefFoundError for com.google.guava:failureaccess for Hive-4.0.0

(cherry picked from commit ed5f688)
(cherry picked from commit a2fb224)

* undo partial ODP-1640

---------
  • Loading branch information
basapuram-kumar authored Aug 5, 2024
1 parent bbad1c6 commit 5536e54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/src/main/assembly/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
<useStrictFiltering>false</useStrictFiltering>
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<!--exclude>org.apache.calcite:*</exclude-->
<exclude>org.apache.calcite:*</exclude>
<exclude>org.apache.hadoop:*</exclude>
<exclude>org.apache.hive.hcatalog:*</exclude>
<exclude>org.slf4j:*</exclude>
<!--exclude>log4j:*</exclude-->
<exclude>log4j:*</exclude>
<exclude>ch.qos.reload4j:*</exclude>
<exclude>junit:*</exclude>
<exclude>commons-configuration:commons-configuration</exclude>
Expand Down
5 changes: 5 additions & 0 deletions ql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,7 @@
<include>org.roaringbitmap:RoaringBitmap</include>
<include>org.roaringbitmap:shims</include>
<include>com.github.luben:zstd-jni</include>
<include>com.google.guava:failureaccess</include>
</includes>
</artifactSet>
<filters>
Expand All @@ -1124,6 +1125,10 @@
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.google.common.util.concurrent.internal</pattern>
<shadedPattern>org.apache.hive.com.google.common.util.concurrent.internal</shadedPattern>
</relocation>
<relocation>
<pattern>com.esotericsoftware</pattern>
<shadedPattern>org.apache.hive.com.esotericsoftware</shadedPattern>
Expand Down

0 comments on commit 5536e54

Please sign in to comment.