Skip to content

Commit 8ebfdf9

Browse files
committed
Exclude org.apache.hadoop.hbase.KeyValue.KeyComparator from shading for backward compatibility
1 parent b7b38fa commit 8ebfdf9

File tree

9 files changed

+27
-0
lines changed

9 files changed

+27
-0
lines changed

packaging/hudi-flink-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@
178178
<relocation>
179179
<pattern>org.apache.hadoop.hbase.</pattern>
180180
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
181+
<excludes>
182+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
183+
</excludes>
181184
</relocation>
182185
<relocation>
183186
<pattern>org.apache.hbase.</pattern>

packaging/hudi-hadoop-mr-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@
118118
<relocation>
119119
<pattern>org.apache.hadoop.hbase.</pattern>
120120
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
121+
<excludes>
122+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
123+
</excludes>
121124
</relocation>
122125
<relocation>
123126
<pattern>org.apache.hbase.</pattern>

packaging/hudi-integ-test-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@
199199
<relocation>
200200
<pattern>org.apache.hadoop.hbase.</pattern>
201201
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
202+
<excludes>
203+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
204+
</excludes>
202205
</relocation>
203206
<relocation>
204207
<pattern>org.apache.hbase.</pattern>

packaging/hudi-kafka-connect-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@
161161
<relocation>
162162
<pattern>org.apache.hadoop.hbase.</pattern>
163163
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
164+
<excludes>
165+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
166+
</excludes>
164167
</relocation>
165168
<relocation>
166169
<pattern>org.apache.hbase.</pattern>

packaging/hudi-presto-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
<relocation>
110110
<pattern>org.apache.hadoop.hbase.</pattern>
111111
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
112+
<excludes>
113+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
114+
</excludes>
112115
</relocation>
113116
<relocation>
114117
<pattern>org.apache.hbase.</pattern>

packaging/hudi-spark-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@
150150
<relocation>
151151
<pattern>org.apache.hadoop.hbase.</pattern>
152152
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
153+
<excludes>
154+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
155+
</excludes>
153156
</relocation>
154157
<relocation>
155158
<pattern>org.apache.hbase.</pattern>

packaging/hudi-timeline-server-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@
227227
<relocation>
228228
<pattern>org.apache.hadoop.hbase.</pattern>
229229
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
230+
<excludes>
231+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
232+
</excludes>
230233
</relocation>
231234
<relocation>
232235
<pattern>org.apache.hbase.</pattern>

packaging/hudi-trino-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@
111111
<relocation>
112112
<pattern>org.apache.hadoop.hbase.</pattern>
113113
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
114+
<excludes>
115+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
116+
</excludes>
114117
</relocation>
115118
<relocation>
116119
<pattern>org.apache.hbase.</pattern>

packaging/hudi-utilities-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@
187187
<relocation>
188188
<pattern>org.apache.hadoop.hbase.</pattern>
189189
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
190+
<excludes>
191+
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
192+
</excludes>
190193
</relocation>
191194
<relocation>
192195
<pattern>org.apache.hbase.</pattern>

0 commit comments

Comments
 (0)