Skip to content

Commit b9a53bc

Browse files
xicmneverdizzy
authored andcommitted
[HUDI-3983] Fix ClassNotFoundException when using hudi-spark-bundle to write table with hbase index (apache#6715)
(cherry picked from commit 598d069)
1 parent 6342fb0 commit b9a53bc

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

hudi-common/src/main/resources/hbase-site.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,13 +1699,6 @@ possible configurations would overwhelm and obscure the important.
16991699
Implementation of the status publication with a multicast message.
17001700
</description>
17011701
</property>
1702-
<property>
1703-
<name>hbase.status.listener.class</name>
1704-
<value>org.apache.hadoop.hbase.client.ClusterStatusListener$MulticastListener</value>
1705-
<description>
1706-
Implementation of the status listener with a multicast message.
1707-
</description>
1708-
</property>
17091702
<property>
17101703
<name>hbase.status.multicast.address.ip</name>
17111704
<value>226.1.1.3</value>

packaging/hudi-spark-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@
301301
<exclude>META-INF/services/javax.*</exclude>
302302
<exclude>**/*.proto</exclude>
303303
<exclude>hbase-webapps/**</exclude>
304+
<!-- hbase-default.xml comes from hbase-common, hbase related classes used in hudi are in shaded
305+
pattern, the default classes in hbase-default.xml can cause ClassNotFoundException. -->
306+
<exclude>hbase-default.xml</exclude>
304307
</excludes>
305308
</filter>
306309
</filters>

0 commit comments

Comments
 (0)