Skip to content

[SPARK-56163][CORE][K8S] Move uploadFileToHadoopCompatibleFS to Utils#54960

Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-56163
Closed

[SPARK-56163][CORE][K8S] Move uploadFileToHadoopCompatibleFS to Utils#54960
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-56163

Conversation

@dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

This PR moves the uploadFileToHadoopCompatibleFS function from org.apache.spark.deploy.k8s.KubernetesUtils to org.apache.spark.util.Utils. This places the utility function right alongside getHadoopFileSystem.

Why are the changes needed?

Centralizing Hadoop-compatible FileSystem operations (like URI operations and uploads) into Utils makes the codebase cleaner, improves reusability, and properly separates general file utilities from Kubernetes-specific tooling.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Gemini 3.1 Pro (High) on Antigravity.

@dongjoon-hyun
Copy link
Member Author

Thank you, @peter-toth !

@dongjoon-hyun
Copy link
Member Author

Merged to master for Apache Spark 4.2.0.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-56163 branch March 23, 2026 22:05
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.

2 participants