branch-4.0: [refactor](oss) unify FE OSS filesystem with Jindo #61269#61416
Open
github-actions[bot] wants to merge 1 commit intobranch-4.0from
Open
branch-4.0: [refactor](oss) unify FE OSS filesystem with Jindo #61269#61416github-actions[bot] wants to merge 1 commit intobranch-4.0from
github-actions[bot] wants to merge 1 commit intobranch-4.0from
Conversation
This PR unifies the FE-side OSS Hadoop filesystem implementation to Jindo FS and removes legacy OSS filesystem dependencies that are no longer needed. ## Why We currently have multiple OSS filesystem implementations on the FE classpath, including: - `org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem` - `paimon-oss` This makes OSS behavior inconsistent and increases the chance of classpath conflicts. Since Doris already packages and uses Jindo FS, FE should consistently use Jindo instead of mixing multiple OSS filesystem implementations. ## Changes - Switch `OSSProperties` to use Jindo FS: - `fs.oss.impl = com.aliyun.jindodata.oss.JindoOssFileSystem` - `fs.AbstractFileSystem.oss.impl = com.aliyun.jindodata.oss.JindoOSS` - Keep `OSSHdfsProperties` aligned with the same Jindo FS constants. - Add FE unit test coverage to verify OSS Hadoop config is initialized with Jindo FS. - Remove legacy OSS filesystem dependencies from FE modules: - remove `paimon-oss` from `fe-core` - remove `paimon-oss` from `preload-extensions` - remove `hadoop-aliyun` from FE dependency management and `hadoop-deps` ## Scope This PR only updates FE-side OSS filesystem wiring and FE-related dependency cleanup. Non-FE modules are intentionally left unchanged. ## Verification - `run-fe-ut.sh --run org.apache.doris.datasource.property.storage.OSSPropertiesTest,org.apache.doris.datasource.property.storage.OSSHdfsPropertiesTest` - Full FE reactor build passed ## Notes `aliyun-sdk-oss` is still kept because it is still used by FE cloud storage code (`OssRemote`) and is not part of the Hadoop OSS filesystem implementation cleanup in this PR.
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
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.
Cherry-picked from #61269