Skip to content

Conversation

@tobiasstadler
Copy link
Contributor

What changes were proposed in this pull request?

Backport a6bffcc to 3.5

Why are the changes needed?

Apache Spark 3.4+ support shaded clients, but currently supportsHadoopShadedClient returns false.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

CI

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

No.

…nt` to handle Hadoop 3.4+

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

This PR aims to fix `IsolatedClientLoader.supportsHadoopShadedClient` to handle Hadoop 3.4+ correctly.

### Why are the changes needed?

Apache Spark 3.4+ support shaded clients, but currently `supportsHadoopShadedClient` returns `false`.

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

No.

### How was this patch tested?

Manual review.

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

No.

Closes apache#45585 from dongjoon-hyun/SPARK-47457.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@github-actions github-actions bot added the SQL label Mar 21, 2024
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Hi, @tobiasstadler .

Sorry but it's an improvement for Apache Spark 4.0.0. As the author of that commit, I want to keep all Hadoop 3.4 activity in Apache Spark 4 only.

@dongjoon-hyun
Copy link
Member

Let me close this PR first to prevent accidental merging. We can continue our discussion on this topic.

@dongjoon-hyun
Copy link
Member

For the record, Apache Spark community is actively testing Apache Hadoop 3.4, but it's too early to say that it can survive until Apache Spark 4.0.0 release. It's only our aspiration to have Apache Hadoop 3.4 in Apache Spark 4.0.0.

Please see our downgrade history. This can happen for Apache Hadoop 3.4.0 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants