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

Adapt log4j2 to support Spark 3.3 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pan3793
Copy link

@pan3793 pan3793 commented Dec 20, 2023

Why changes are needed?

Since Spark 3.3, it migrate from Log4J 1.x to Log4J 2.x, see details in SPARK-37814

Currently, the Logging has a hard dependency on Log4J1, which does not work on Spark 3.3 and above.

What are the changes?

This PR aims to use reflection to adapt both Log4J1 and Log4J2 to resolve such a compatible issue.

How was it verified?

A new test case TestChangeLoggerLevel is added, also updated the Azure pipeline definition to include the Spark 3.3

@melin
Copy link

melin commented Mar 27, 2024

support bandwidth limit ?

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