Skip to content

Commit

Permalink
shade protobuf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
the-other-tim-brown committed Oct 5, 2022
1 parent fb2d9f0 commit f03f961
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packaging/hudi-aws-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-datahub-sync-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-flink-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-gcp-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-hadoop-mr-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-hive-sync-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-integ-test-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-kafka-connect-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-presto-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-spark-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-timeline-server-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-trino-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-utilities-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
4 changes: 4 additions & 0 deletions packaging/hudi-utilities-slim-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.hudi.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down

0 comments on commit f03f961

Please sign in to comment.