[lake/hudi] Introduce fluss-lake-hudi module and HudiLakeStorage#3256
Open
fhan688 wants to merge 4 commits intoapache:mainfrom
Open
[lake/hudi] Introduce fluss-lake-hudi module and HudiLakeStorage#3256fhan688 wants to merge 4 commits intoapache:mainfrom
fhan688 wants to merge 4 commits intoapache:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an initial Apache Hudi lake-storage plugin module (fluss-lake-hudi) and wires it into the Fluss build and distribution so that “hudi” can be selected as a lake format and the plugin can be discovered via ServiceLoader.
Changes:
- Adds
HUDI("hudi")toDataLakeFormatand introduces a newfluss-lake-hudimodule with stubHudiLakeStorage+HudiLakeStoragePlugin. - Wires the new module into Maven reactor (
fluss-lake/pom.xml), dist plugin assembly (fluss-dist), and quickstart build preparation. - Adds a Hudi Flink bundle dependency (provided) and a new
hudi.versionMaven property.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| pom.xml | Adds hudi.version property for dependency management. |
| fluss-lake/pom.xml | Adds fluss-lake-hudi to the lake parent reactor modules. |
| fluss-lake/fluss-lake-hudi/pom.xml | New module POM for the Hudi lake plugin. |
| fluss-lake/fluss-lake-hudi/src/main/java/org/apache/fluss/lake/hudi/HudiLakeStorage.java | Adds initial (stub) LakeStorage implementation for Hudi. |
| fluss-lake/fluss-lake-hudi/src/main/java/org/apache/fluss/lake/hudi/HudiLakeStoragePlugin.java | Adds LakeStoragePlugin implementation for ServiceLoader discovery. |
| fluss-lake/fluss-lake-hudi/src/main/resources/META-INF/services/org.apache.fluss.lake.lakestorage.LakeStoragePlugin | Registers HudiLakeStoragePlugin via ServiceLoader metadata. |
| fluss-lake/fluss-lake-hudi/src/main/resources/META-INF/NOTICE | Adds NOTICE file for the new module. |
| fluss-lake/fluss-lake-hudi/src/test/resources/log4j2-test.properties | Adds test logging configuration for the new module. |
| fluss-lake/fluss-lake-hudi/src/test/resources/org.junit.jupiter.api.extension.Extension | Adds JUnit extension auto-registration for tests. |
| fluss-flink/fluss-flink-common/pom.xml | Adds provided Hudi Flink bundle dependency. |
| fluss-dist/src/main/assemblies/plugins.xml | Copies the built fluss-lake-hudi jar into plugins/hudi/ in the dist. |
| fluss-dist/pom.xml | Adds fluss-lake-hudi as a (provided) dependency for build ordering/wiring. |
| fluss-common/src/main/java/org/apache/fluss/metadata/DataLakeFormat.java | Adds HUDI to supported DataLakeFormat enum values. |
| docker/quickstart-flink/prepare_build.sh | Includes Hudi plugin build output directory in quickstart build preparation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ording to AI reviewed suggestions.
…https://github.com/fhan688/fluss into Introduce-fluss-lake-hudi-module-and-HudiLakeStorage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: #3258
Introduce an initial Hudi LakeStorage plugin module for Fluss and wire it into build/distribution, so Hudi can be recognized as a supported data lake format.
Brief change log
Tests
This commit mainly introduces module/plugin scaffolding and build wiring.
Suggested verification:
mvn -pl fluss-lake/fluss-lake-hudi -am clean test
mvn -pl fluss-dist -am clean package -DskipTests
API and Format
Documentation