Skip to content

Commit 5c4988f

Browse files
committed
fix hadoop and parquet dependencies
1 parent dc546b5 commit 5c4988f

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,6 +1760,10 @@
17601760
<groupId>io.airlift</groupId>
17611761
<artifactId>slice</artifactId>
17621762
</exclusion>
1763+
<exclusion>
1764+
<groupId>org.apache.hadoop</groupId>
1765+
<artifactId>*</artifactId>
1766+
</exclusion>
17631767
</exclusions>
17641768
</dependency>
17651769
<dependency>
@@ -1781,6 +1785,10 @@
17811785
<groupId>org.apache.hive</groupId>
17821786
<artifactId>hive-storage-api</artifactId>
17831787
</exclusion>
1788+
<exclusion>
1789+
<groupId>org.apache.hadoop</groupId>
1790+
<artifactId>*</artifactId>
1791+
</exclusion>
17841792
</exclusions>
17851793
</dependency>
17861794
<dependency>

sql/hive/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@
3939
<dependency>
4040
<groupId>com.twitter</groupId>
4141
<artifactId>parquet-hadoop-bundle</artifactId>
42+
<scope>provided</scope>
4243
</dependency>
4344
<dependency>
4445
<groupId>org.apache.spark</groupId>
4546
<artifactId>spark-core_${scala.binary.version}</artifactId>
4647
<version>${project.version}</version>
48+
<scope>provided</scope>
4749
</dependency>
4850
<dependency>
4951
<groupId>org.apache.spark</groupId>
@@ -97,6 +99,12 @@
9799
<dependency>
98100
<groupId>${hive.group}</groupId>
99101
<artifactId>hive-exec</artifactId>
102+
<exclusions>
103+
<exclusion>
104+
<groupId>com.twitter</groupId>
105+
<artifactId>parquet-hadoop-bundle</artifactId>
106+
</exclusion>
107+
</exclusions>
100108
<!--
101109
<classifier>core</classifier>
102110
-->

0 commit comments

Comments
 (0)