Skip to content

Commit 2c69208

Browse files
committed
Xerial Snappy has a JNI component so cannot be shaded or else native symbols won't link
1 parent 858ea51 commit 2c69208

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

phoenix-client-parent/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@
165165
<!-- Phoenix classes -->
166166
<exclude>org/apache/phoenix/**</exclude>
167167
<exclude>org/apache/omid/**</exclude>
168+
<!-- Xerial Snappy has a JNI component so cannot be shaded or
169+
else native symbols won't link -->
170+
<exclude>org/xerial/snappy/**</exclude>
168171
</excludes>
169172
</relocation>
170173
<relocation>

phoenix-mapreduce-byo-shaded-hbase/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@
175175
<!-- See PHOENIX-7118
176176
We expect this to come from the unshaded hadoop on the classpath.
177177
This won't work if hadoop-shaded-client is used. -->
178-
<exclude>org/apache/commons/configuration2/**</exclude>
178+
<exclude>org/apache/commons/configuration2/**</exclude>
179+
<!-- Xerial Snappy has a JNI component so cannot be shaded or
180+
else native symbols won't link -->
181+
<exclude>org/xerial/snappy/**</exclude>
179182
</excludes>
180183
</relocation>
181184

phoenix-server/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@
178178
<!-- See PHOENIX-7118
179179
We expect this to come from the unshaded hadoop on the classpath.
180180
That is always true for the HBase server classpath -->
181-
<exclude>org/apache/commons/configuration2/**</exclude>
181+
<exclude>org/apache/commons/configuration2/**</exclude>
182+
<!-- Xerial Snappy has a JNI component so cannot be shaded or
183+
else native symbols won't link -->
184+
<exclude>org/xerial/snappy/**</exclude>
182185
</excludes>
183186
</relocation>
184187
<!-- We use the relocate-by default settings from -client, instead of relocating

0 commit comments

Comments
 (0)