Skip to content

[BugFix] exclusion ch.qos.reload4j - #67487

Open
pengliang100 wants to merge 2 commits into
StarRocks:mainfrom
pengliang100:log4j-bug
Open

[BugFix] exclusion ch.qos.reload4j#67487
pengliang100 wants to merge 2 commits into
StarRocks:mainfrom
pengliang100:log4j-bug

Conversation

@pengliang100

@pengliang100 pengliang100 commented Jan 5, 2026

Copy link
Copy Markdown

Why I'm doing:

ch.qos.reload4j The package path is the same as log4j
The class that was lazily loaded after startup loaded an incorrect org.apache.log4j and use default log4j.properties , Resulting in a large amount of log debug output
like software.amazon.awssdk.thirdparty log Output to fe.out

What I'm doing:

hadoop-hdfs need exclusion reload4j
Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
    • This pr needs auto generate documentation
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 4.1
    • 4.0
    • 3.5
    • 3.4
    • 3.3

Note

Removes conflicting logging bridges pulled by Hadoop HDFS to stabilize logging.

  • Excludes org.slf4j:slf4j-reload4j and ch.qos.reload4j:reload4j from org.apache.hadoop:hadoop-hdfs in both fe/fe-core/build.gradle.kts and fe/pom.xml
  • Prevents unintended org.apache.log4j binding and excessive debug logs from transitive dependencies

Written by Cursor Bugbot for commit 6da5347. This will update automatically on new commits. Configure here.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


pengliang3 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@pengliang100 pengliang100 changed the title [fix] exclusion ch.qos.reload4j [BugFix] exclusion ch.qos.reload4j Jan 5, 2026
@alvin-phoenix-ai

Copy link
Copy Markdown
Contributor

@cursor review

Comment thread fe/pom.xml
Comment thread fe/pom.xml
@cursor

cursor Bot commented Jan 6, 2026

Copy link
Copy Markdown

Skipping Bugbot: Unable to authenticate your request. Please make sure Bugbot is properly installed and configured for this repository.

@pengliang100

Copy link
Copy Markdown
Author

@alvin-celerdata Resolved

@alvin-phoenix-ai

Copy link
Copy Markdown
Contributor

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no bugs!

@sonarqubecloud

sonarqubecloud Bot commented Jan 7, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

[BE Incremental Coverage Report]

pass : 0 / 0 (0%)

@pengliang100

Copy link
Copy Markdown
Author

@alvin-celerdata

@pengliang100

Copy link
Copy Markdown
Author

@alvin-celerdata Why can't we merge it

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants