Skip to content

Commit d01239a

Browse files
Jonathan Vexleryihua
authored andcommitted
fixes to make unit tests on m1
1 parent 097e5a8 commit d01239a

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

hudi-utilities/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@
155155
<groupId>org.apache.kafka</groupId>
156156
<artifactId>kafka-clients</artifactId>
157157
<version>${kafka.version}</version>
158+
<exclusions>
159+
<exclusion>
160+
<groupId>org.xerial.snappy</groupId>
161+
<artifactId>snappy-java</artifactId>
162+
</exclusion>
163+
</exclusions>
158164
</dependency>
159165

160166
<!-- Pulsar -->
@@ -208,6 +214,10 @@
208214
<groupId>com.thoughtworks.paranamer</groupId>
209215
<artifactId>paranamer</artifactId>
210216
</exclusion>
217+
<exclusion>
218+
<groupId>org.xerial.snappy</groupId>
219+
<artifactId>snappy-java</artifactId>
220+
</exclusion>
211221
</exclusions>
212222
</dependency>
213223

packaging/hudi-utilities-bundle/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,12 @@
376376
<groupId>org.apache.parquet</groupId>
377377
<artifactId>parquet-avro</artifactId>
378378
<scope>compile</scope>
379+
<exclusions>
380+
<exclusion>
381+
<groupId>org.xerial.snappy</groupId>
382+
<artifactId>snappy-java</artifactId>
383+
</exclusion>
384+
</exclusions>
379385
</dependency>
380386

381387
<!-- Hive -->

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,6 +1989,18 @@
19891989
</property>
19901990
</activation>
19911991
</profile>
1992+
<profile>
1993+
<id>m1-mac</id>
1994+
<properties>
1995+
<spark2.version>2.4.8</spark2.version>
1996+
</properties>
1997+
<activation>
1998+
<os>
1999+
<family>mac</family>
2000+
<arch>aarch64</arch>
2001+
</os>
2002+
</activation>
2003+
</profile>
19922004

19932005
<!-- "spark3" is an alias for "spark3.3" -->
19942006
<!-- NOTE: This profile is deprecated and soon will be removed -->

0 commit comments

Comments
 (0)