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

[#5585] fix(catalog-hadoop): Test and make fileset with cloud storage can work with Spark 3.2.0~3.5.3 #5630

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yuqi1129
Copy link
Contributor

What changes were proposed in this pull request?

  1. Update the Hadoop version from 3.3.0 to 3.3.1 to avoid bugs existing in the Hadoop 3.3.0, why use 3.3.1 and 3.3.6, because version hadoop-aws 3.3.6 is a very updated version and needs the corresponding Hadoop version, which will make it difficult to use in production.
  2. Replace dependencies hadoop-common and hadoop-client with hadoop-client-api and hadoop-client-runtime to avoid third-party dependencies compatibility issues.

Why are the changes needed?

To make fileset that can be used in production.

Fix: #5585

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Locally and existing UTs and ITs.

// Reset the FileSystem service loader to make sure the FileSystem will reload the
// service file systems, this is a temporary solution to fix the issue
// https://github.com/apache/gravitino/issues/5609
resetFileSystemServiceLoader(scheme);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@FANNG1 and me are working on this issue and this will not bock this PR.

@yuqi1129 yuqi1129 self-assigned this Nov 20, 2024
@yuqi1129 yuqi1129 changed the title [#5585] fix(catalog-hadoop): Test and make fileset with cloud storage can work with Spark 3.2.1~3.5.x [#5585] fix(catalog-hadoop): Test and make fileset with cloud storage can work with Spark 3.2.0~3.5.x Nov 21, 2024
@yuqi1129 yuqi1129 changed the title [#5585] fix(catalog-hadoop): Test and make fileset with cloud storage can work with Spark 3.2.0~3.5.x [#5585] fix(catalog-hadoop): Test and make fileset with cloud storage can work with Spark 3.2.0~3.5.3 Nov 21, 2024
compileOnly(libs.hadoop3.client.runtime)

implementation(libs.commons.lang3)
implementation(libs.guava)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please make all the changes alphabetically ordering.

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.

[Improvement] Verify and test whether PySpark can access fileset with cloud storage.
2 participants