[HUDI-3817] shade parquet dependency for hudi-hadoop-mr-bundle (#5250)
Co-authored-by: lvshuang.xjs <lvshuang.xjs@alibaba-inc.com>
This commit is contained in:
@@ -67,8 +67,9 @@
|
||||
<includes>
|
||||
<include>org.apache.hudi:hudi-common</include>
|
||||
<include>org.apache.hudi:hudi-hadoop-mr</include>
|
||||
|
||||
<!-- Parquet -->
|
||||
<include>org.apache.parquet:parquet-avro</include>
|
||||
<include>org.apache.parquet:parquet-hadoop-bundle</include>
|
||||
<include>org.apache.avro:avro</include>
|
||||
<include>com.esotericsoftware:kryo-shaded</include>
|
||||
<include>org.objenesis:objenesis</include>
|
||||
@@ -131,8 +132,12 @@
|
||||
<shadedPattern>org.apache.hudi.org.apache.htrace.</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.parquet.avro.</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.parquet.avro.</shadedPattern>
|
||||
<pattern>org.apache.parquet.</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.parquet.</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>shaded.parquet.</pattern>
|
||||
<shadedPattern>org.apache.hudi.shaded.parquet.</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>com.google.common.</pattern>
|
||||
@@ -258,6 +263,13 @@
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.parquet</groupId>
|
||||
<artifactId>parquet-hadoop-bundle</artifactId>
|
||||
<version>${parquet.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Avro -->
|
||||
<dependency>
|
||||
<groupId>org.apache.avro</groupId>
|
||||
|
||||
Reference in New Issue
Block a user