Skip to content

Commit

Permalink
Merge pull request #1505 from rsleem/PPP-5382
Browse files Browse the repository at this point in the history
[PPP-5382] updated libthrift dependency to work with hive-exec versio…
  • Loading branch information
angel-ramoscardona authored Nov 11, 2024
2 parents cfe511d + 92473b8 commit 436cd9f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 4 deletions.
1 change: 1 addition & 0 deletions shims/apachevanilla/driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@
</exclusion>
</exclusions>
</dependency>
<!-- Needed since we excluded it from hive-service to address io.airlift transitive security issue -->
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
Expand Down
27 changes: 24 additions & 3 deletions shims/cdpdc71/driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${org.apache.thrift.version}</version>
<version>0.9.3-1</version>
</dependency>
<dependency>
<groupId>org.pentaho</groupId>
Expand Down Expand Up @@ -214,6 +214,10 @@
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.thrift</groupId>
<artifactId>libfb303</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -350,8 +354,25 @@
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.thrift</groupId>
<artifactId>libfb303</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>${org.apache.hive.version}</version>
</dependency>
<dependency>
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-avro</artifactId>
Expand Down Expand Up @@ -671,7 +692,7 @@
*:hadoop-yarn-api,*:hbase-client,*:hbase-common,*:hbase-hadoop-compat,*:hbase-protocol,
*:hbase-server,*:oozie-client,*:parquet-hadoop-bundle,*:zookeeper,*:hbase-shaded-miscellaneous,
org.eclipse.jetty:*,com.google.guava:*,*:hadoop-lzo,*:hadoop-client,*:hadoop-aws,*:hadoop-azure,*:gcs-connector,*:hadoop-hdfs-client,
org.apache.thrift:libthrift,*:google-oauth-client
*:google-oauth-client
</include>
<exclude>
*:*log4j*,*:xml-apis,*:xercesImpl,*:commons-logging,*:commons-math3,*:commons-pool2,*:commons-dbcp2,
Expand All @@ -685,7 +706,7 @@
<include>
<!--Needed for Pig-->
*:antlr-runtime,*:automaton,*:pig,*:parquet-pig,*:sqoop,*:joda-time,*:jython,*:gateway-cloud-bindings,
*:gateway-util-common,*:gateway-shell,*:gateway-i18n,*:aircompressor,*:netty-*
*:gateway-util-common,*:gateway-shell,*:gateway-i18n,*:aircompressor,*:netty-*,*:libthrift
</include>
<transitive>false</transitive>
</resolverFilter>
Expand Down
2 changes: 1 addition & 1 deletion shims/emr700/driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
<resolverFilter>
<include>
*:parquet-hadoop,*:parquet-hadoop-bundle,*:hadoop-yarn-api,*:avro,*:avro-mapred,*:hive-jdbc,
*:hive-service,*:hive-exec,*:orc-core,*:hadoop-common,*:hadoop-hdfs,*:hadoop-mapreduce-*,
*:hive-service,*:orc-core,*:hadoop-common,*:hadoop-hdfs,*:hadoop-mapreduce-*,
*:hadoop-yarn-common,*:hbase-client,*:hbase-common,*:hbase-hadoop-compat,*:hbase-protocol,
*:hbase-server,*:hbase-metrics,*:hbase-metrics-api,*:oozie-client,*:parquet-hadoop-bundle,
*:zookeeper,*:hadoop-lzo,*:hadoop-client,*:hadoop-aws,*:hadoop-hdfs-client,org.eclipse.jetty:*
Expand Down
16 changes: 16 additions & 0 deletions shims/hdi40/driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,22 @@
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Needed since we excluded it from hive-service to address io.airlift transitive security issue -->
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>${org.apache.hive.version}</version>
<exclusions>
<exclusion>
<groupId>io.airlift</groupId>
<artifactId>aircompressor</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down

0 comments on commit 436cd9f

Please sign in to comment.