-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat: Add hudi-azure-bundle #18472
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
base: master
Are you sure you want to change the base?
feat: Add hudi-azure-bundle #18472
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 |
|---|---|---|
|
|
@@ -6,9 +6,9 @@ | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| (the "License"); you may not use this file except in compliance with | ||
| the License. You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
|
|
@@ -77,7 +77,15 @@ | |
| <!-- Azure SDK --> | ||
| <include>com.azure:*</include> | ||
| <include>com.microsoft.azure:*</include> | ||
| <!-- Azure identity deps --> | ||
| <include>com.nimbusds:*</include> | ||
| <include>net.minidev:*</include> | ||
| <!-- Reactor --> | ||
| <include>io.projectreactor:*</include> | ||
| <include>io.projectreactor.netty:*</include> | ||
| <include>org.reactivestreams:reactive-streams</include> | ||
| <!-- Netty: bundled and shaded together with reactor-netty to avoid | ||
| version conflicts with Spark's Netty on the classpath --> | ||
| <include>io.netty:*</include> | ||
|
|
||
| <!-- Utils --> | ||
|
|
@@ -105,6 +113,24 @@ | |
| <pattern>org.openjdk.jol.</pattern> | ||
| <shadedPattern>org.apache.hudi.org.openjdk.jol.</shadedPattern> | ||
| </relocation> | ||
| <!-- Shade Netty, Reactor, and Reactive Streams to avoid classpath | ||
| conflicts with Spark's bundled Netty --> | ||
| <relocation> | ||
| <pattern>io.netty.</pattern> | ||
| <shadedPattern>org.apache.hudi.io.netty.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>io.projectreactor.</pattern> | ||
| <shadedPattern>org.apache.hudi.io.projectreactor.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>reactor.</pattern> | ||
| <shadedPattern>org.apache.hudi.reactor.</shadedPattern> | ||
| </relocation> | ||
| <relocation> | ||
| <pattern>org.reactivestreams.</pattern> | ||
| <shadedPattern>org.apache.hudi.org.reactivestreams.</shadedPattern> | ||
| </relocation> | ||
| </relocations> | ||
| <createDependencyReducedPom>false</createDependencyReducedPom> | ||
| <filters> | ||
|
|
@@ -116,6 +142,7 @@ | |
| <exclude>META-INF/*.RSA</exclude> | ||
| <exclude>META-INF/services/javax.*</exclude> | ||
| <exclude>**/*.proto</exclude> | ||
| <exclude>hbase-webapps/**</exclude> | ||
| </excludes> | ||
| </filter> | ||
| </filters> | ||
|
|
@@ -129,6 +156,9 @@ | |
| <resource> | ||
| <directory>src/main/resources</directory> | ||
| </resource> | ||
| <resource> | ||
|
Contributor
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. 🤖 Is there a reason to add - AI-generated; verify before applying. React 👍/👎 to flag quality. |
||
| <directory>src/test/resources</directory> | ||
|
Contributor
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. 🤖 nit: including - AI-generated; verify before applying. React 👍/👎 to flag quality. |
||
| </resource> | ||
| </resources> | ||
| </build> | ||
|
|
||
|
|
@@ -174,6 +204,13 @@ | |
| <version>${parquet.version}</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
|
|
||
| <!-- Avro --> | ||
| <dependency> | ||
| <groupId>org.apache.avro</groupId> | ||
| <artifactId>avro</artifactId> | ||
| <version>${avro.version}</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| </project> | ||
|
|
||
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.
🤖 nit: it might be worth adding a brief inline comment here noting which transitive dependency pulls in
hbase-webapps/— without it, a future reader will wonder why HBase UI resources are being excluded from an Azure bundle.- AI-generated; verify before applying. React 👍/👎 to flag quality.