Skip to content
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

[#5173] feat(hadoop-catlog): Support OSS fileset for Gravitino. #5174

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

yuqi1129
Copy link
Contributor

What changes were proposed in this pull request?

Add OSS fileset support.

Why are the changes needed?

OSS is widely used in China and Asia.

Fix: #5173

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Test Locally.

htrace-core4 = { group = "org.apache.htrace", name = "htrace-core4", version.ref = "htrace-core4" }
airlift-json = { group = "io.airlift", name = "json", version.ref = "airlift-json"}
airlift-resolver = { group = "io.airlift.resolver", name = "resolver", version.ref = "airlift-resolver"}
httpclient5 = { group = "org.apache.httpcomponents.client5", name = "httpclient5", version.ref = "httpclient5" }
mockserver-netty = { group = "org.mock-server", name = "mockserver-netty", version.ref = "mockserver" }
mockserver-client-java = { group = "org.mock-server", name = "mockserver-client-java", version.ref = "mockserver" }
commons-lang = { group = "commons-lang", name = "commons-lang", version.ref = "commons-lang" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update the LICENSE.bin for your new added dependency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have confirmed it and it seems there already exists the content in the LICENSE.bin

Apache Commons Lang

// org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem.initialize(AliyunOSSFileSystem.java:323)
// org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3611)

implementation(libs.commons.lang)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to shade this jar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, the package will be shaded in the jar gravitino-aliyun-bundle.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is introduced by you, so you have to shade it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@yuqi1129 yuqi1129 self-assigned this Oct 18, 2024
@@ -282,6 +282,8 @@
ApacheDS I18n
ApacheDS Protocol Kerberos Codec
Apache Hadoop
Apache Hadoop Aliyun connector
Apache Hadoop GCS connector
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jerryshao
Please take a look if this change is acceptable.

@jerryshao jerryshao merged commit 437f367 into apache:main Oct 18, 2024
26 checks passed
mplmoknijb pushed a commit to mplmoknijb/gravitino that referenced this pull request Nov 6, 2024
…apache#5174)

### What changes were proposed in this pull request?

Add OSS fileset support. 

### Why are the changes needed?

OSS is widely used in China and Asia. 

Fix: apache#5173 

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

Test Locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Support OSS fileset in Gravitino server.
2 participants