Skip to content

Commit

Permalink
[modify]hudi-flink-bundle增加Guave包的relocation和include解决冲突问题
Browse files Browse the repository at this point in the history
  • Loading branch information
aib628 committed Nov 30, 2023
1 parent 35980b6 commit aff2634
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion hudi-flink-datasource/hudi-flink1.18.x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-guava</artifactId>
<version>30.1.1-jre-14.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand Down
5 changes: 5 additions & 0 deletions packaging/hudi-flink-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
<include>org.apache.flink:flink-json</include>
<include>org.apache.flink:${flink.parquet.artifactId}</include>
<include>org.apache.flink:flink-metrics-dropwizard</include>
<include>org.apache.flink:flink-shaded-guava</include>

<include>org.apache.hive:hive-common</include>
<include>org.apache.hive:hive-service</include>
Expand Down Expand Up @@ -213,6 +214,10 @@
<pattern>org.openjdk.jol.</pattern>
<shadedPattern>org.apache.hudi.org.openjdk.jol.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.common.</pattern>
<shadedPattern>${flink.bundle.shade.prefix}com.google.common.</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down

0 comments on commit aff2634

Please sign in to comment.