Skip to content

Commit

Permalink
Xerial Snappy has a JNI component so cannot be shaded or else native …
Browse files Browse the repository at this point in the history
…symbols won't link
  • Loading branch information
apurtell committed Jan 13, 2025
1 parent 858ea51 commit 2c69208
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions phoenix-client-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@
<!-- Phoenix classes -->
<exclude>org/apache/phoenix/**</exclude>
<exclude>org/apache/omid/**</exclude>
<!-- Xerial Snappy has a JNI component so cannot be shaded or
else native symbols won't link -->
<exclude>org/xerial/snappy/**</exclude>
</excludes>
</relocation>
<relocation>
Expand Down
5 changes: 4 additions & 1 deletion phoenix-mapreduce-byo-shaded-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@
<!-- See PHOENIX-7118
We expect this to come from the unshaded hadoop on the classpath.
This won't work if hadoop-shaded-client is used. -->
<exclude>org/apache/commons/configuration2/**</exclude>
<exclude>org/apache/commons/configuration2/**</exclude>
<!-- Xerial Snappy has a JNI component so cannot be shaded or
else native symbols won't link -->
<exclude>org/xerial/snappy/**</exclude>
</excludes>
</relocation>

Expand Down
5 changes: 4 additions & 1 deletion phoenix-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@
<!-- See PHOENIX-7118
We expect this to come from the unshaded hadoop on the classpath.
That is always true for the HBase server classpath -->
<exclude>org/apache/commons/configuration2/**</exclude>
<exclude>org/apache/commons/configuration2/**</exclude>
<!-- Xerial Snappy has a JNI component so cannot be shaded or
else native symbols won't link -->
<exclude>org/xerial/snappy/**</exclude>
</excludes>
</relocation>
<!-- We use the relocate-by default settings from -client, instead of relocating
Expand Down

0 comments on commit 2c69208

Please sign in to comment.