[SPARK-47008][CORE] Added Hadoops fileSystems hasPathCapability check to avoid FileNotFoundException(s) when using S3 Express One Zone Storage#48497
Closed
leovegas wants to merge 22 commits intoapache:masterfrom
Conversation
…d FileNotFoundException(s) when using S3 Express One Zone Storage.
…scala Fixed import style.
…atuses and added test.
…apability-check' into feature/SPARK-47008-add-hasPathCapability-check # Conflicts: # core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala
…apability-check' into feature/SPARK-47008-add-hasPathCapability-check
Member
|
can you fill the PR description please? |
|
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
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.
What changes were proposed in this pull request?
Jira SPARK-47008
Added check for inconsistent directory listings through Hadoop fs.hasPathCapability(path, "fs.capability.directory.listing.inconsistent") in the following method:
org.apache.spark.util.Utils#fetchHcfsFile
In org.apache.spark.deploy.SparkHadoopUtil#listLeafStatuses
treewalk logic replaced by Hadoop's fs.listFiles method.
Why are the changes needed?
Spark to support S3 Express One Zone Storage
Details in this Jira
Does this PR introduce any user-facing change?
No
How was this patch tested?
Unit tests added to
Was this patch authored or co-authored using generative AI tooling?
No