-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-4023] Decouple hudi-spark from hudi-utilities-slim-bundle #5641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,7 +77,7 @@ | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"> | ||
| </transformer> | ||
| <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> | ||
| <addHeader>true</addHeader> | ||
| <addHeader>true</addHeader> | ||
| </transformer> | ||
| <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> | ||
| <resource>META-INF/LICENSE</resource> | ||
|
|
@@ -92,10 +92,7 @@ | |
| <includes> | ||
| <include>org.apache.hudi:hudi-common</include> | ||
| <include>org.apache.hudi:hudi-client-common</include> | ||
| <include>org.apache.hudi:hudi-spark-client</include> | ||
| <include>org.apache.hudi:hudi-utilities_${scala.binary.version}</include> | ||
| <include>org.apache.hudi:hudi-hive-sync</include> | ||
| <include>org.apache.hudi:hudi-sync-common</include> | ||
| <include>org.apache.hudi:hudi-hadoop-mr</include> | ||
| <include>org.apache.hudi:hudi-timeline-service</include> | ||
| <include>org.apache.hudi:hudi-aws</include> | ||
|
|
@@ -136,13 +133,6 @@ | |
| <include>org.apache.kafka:kafka_${scala.binary.version}</include> | ||
| <include>com.101tec:zkclient</include> | ||
| <include>org.apache.kafka:kafka-clients</include> | ||
|
|
||
| <include>org.apache.hive:hive-common</include> | ||
| <include>org.apache.hive:hive-service</include> | ||
| <include>org.apache.hive:hive-service-rpc</include> | ||
| <include>org.apache.hive:hive-metastore</include> | ||
| <include>org.apache.hive:hive-jdbc</include> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i saw the relocations still shading hive.jdbc
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removed all org.apache.hive relocations |
||
|
|
||
| <include>org.apache.hbase:hbase-client</include> | ||
| <include>org.apache.hbase:hbase-common</include> | ||
| <include>org.apache.hbase:hbase-hadoop-compat</include> | ||
|
|
@@ -178,10 +168,6 @@ | |
| <pattern>com.beust.jcommander.</pattern> | ||
| <shadedPattern>org.apache.hudi.com.beust.jcommander.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.apache.hive.jdbc.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hive.jdbc.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.apache.commons.io.</pattern> | ||
| <shadedPattern>org.apache.hudi.org.apache.commons.io.</shadedPattern> | ||
|
|
@@ -205,10 +191,6 @@ | |
| <pattern>org.apache.hadoop.hive.metastore.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hadoop.hive.metastore.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.apache.hive.common.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hive.common.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.apache.hadoop.hive.common.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hadoop.hive.common.</shadedPattern> | ||
|
|
@@ -217,10 +199,6 @@ | |
| <pattern>org.apache.hadoop.hive.conf.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hadoop.hive.conf.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.apache.hive.service.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hive.service.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.apache.hadoop.hive.service.</pattern> | ||
| <shadedPattern>${utilities.bundle.hive.shade.prefix}org.apache.hadoop.hive.service.</shadedPattern> | ||
|
|
@@ -344,116 +322,27 @@ | |
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-client-common</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-spark-client</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-hive-sync</artifactId> | ||
| <artifactId>hudi-utilities_${scala.binary.version}</artifactId> | ||
| <version>${project.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-spark-common_${scala.binary.version}</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-spark_${scala.binary.version}</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>${hudi.spark.module}_${scala.binary.version}</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>${hudi.spark.common.module}</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-spark-common_${scala.binary.version}</artifactId> | ||
| <version>${project.version}</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-spark_${scala.binary.version}</artifactId> | ||
| <version>${project.version}</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>${hudi.spark.module}_${scala.binary.version}</artifactId> | ||
| <version>${project.version}</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>${hudi.spark.common.module}</artifactId> | ||
| <version>${project.version}</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-utilities_${scala.binary.version}</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- Hive --> | ||
| <dependency> | ||
| <groupId>${hive.groupid}</groupId> | ||
| <artifactId>hive-service</artifactId> | ||
| <version>${hive.version}</version> | ||
| <scope>${utilities.bundle.hive.scope}</scope> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>${hive.groupid}</groupId> | ||
| <artifactId>hive-service-rpc</artifactId> | ||
| <version>${hive.version}</version> | ||
| <scope>${utilities.bundle.hive.scope}</scope> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>${hive.groupid}</groupId> | ||
| <artifactId>hive-jdbc</artifactId> | ||
| <version>${hive.version}</version> | ||
| <scope>${utilities.bundle.hive.scope}</scope> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>${hive.groupid}</groupId> | ||
| <artifactId>hive-metastore</artifactId> | ||
| <version>${hive.version}</version> | ||
| <scope>${utilities.bundle.hive.scope}</scope> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>${hive.groupid}</groupId> | ||
| <artifactId>hive-common</artifactId> | ||
| <version>${hive.version}</version> | ||
| <scope>${utilities.bundle.hive.scope}</scope> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.apache.htrace</groupId> | ||
| <artifactId>htrace-core</artifactId> | ||
| <version>${htrace.version}</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
|
|
||
| <!-- zookeeper --> | ||
| <dependency> | ||
| <groupId>org.apache.curator</groupId> | ||
| <artifactId>curator-framework</artifactId> | ||
| <version>${zk-curator.version}</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.apache.curator</groupId> | ||
| <artifactId>curator-client</artifactId> | ||
| <version>${zk-curator.version}</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.apache.curator</groupId> | ||
| <artifactId>curator-recipes</artifactId> | ||
| <version>${zk-curator.version}</version> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <profiles> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,6 +99,7 @@ | |
| <pulsar.version>2.8.1</pulsar.version> | ||
| <confluent.version>5.3.4</confluent.version> | ||
| <glassfish.version>2.17</glassfish.version> | ||
| <glassfish.el.version>3.0.1-b12</glassfish.el.version> | ||
| <parquet.version>1.10.1</parquet.version> | ||
| <junit.jupiter.version>5.7.0-M1</junit.jupiter.version> | ||
| <junit.vintage.version>5.7.0-M1</junit.vintage.version> | ||
|
|
@@ -556,6 +557,12 @@ | |
| <artifactId>jersey-container-servlet-core</artifactId> | ||
| <version>${glassfish.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is added to do away with warnings like below:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok but does this have to be the default compile scope ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not needed for compilation.. i'll change it to provided scope.. thanks |
||
| <groupId>org.glassfish</groupId> | ||
| <artifactId>javax.el</artifactId> | ||
| <version>${glassfish.el.version}</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
|
|
||
| <!-- Avro --> | ||
| <dependency> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be moved to asf-site as part of 0.12 update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i thought we wanted to keep all bundle docs under packaging//readme.
maybe we can keep it in this readme and point to this in the release note.