[Feature] Add filesystem support for Huawei OBS Storage#5416
Closed
qining-mj wants to merge 4 commits intoapache:masterfrom
qining-mj:feature-paimon-support-obs
Closed
[Feature] Add filesystem support for Huawei OBS Storage#5416qining-mj wants to merge 4 commits intoapache:masterfrom qining-mj:feature-paimon-support-obs
qining-mj wants to merge 4 commits intoapache:masterfrom
qining-mj:feature-paimon-support-obs
Conversation
Contributor
|
|
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
Huawei's OBS storage system is divided into object storage and parallel file system, both of which support the S3 protocol by default. However, in production testing, the object storage fully supports the S3 protocol, while the parallel file system encounters errors when using the S3 protocol. The error is as follows:
Caused by: java.lang.IllegalArgumentException: The path 's3://bucketname/warehouse/xxx' should be a directory. Upon investigation, it was found to be caused by the underlying S3 code. Therefore, support was provided based on Huawei OBS SDK and hadoop-huaweicloud, and it has been running stably in production for half a year.
Tests
API and Format
Documentation
https://support.huaweicloud.com/usermanual-obs/obs_13_0007.html