Skip to content

HBASE-29832 Make it easy to use HBase with SLF4J 2.x - #8701

Open
Sigma-Ma wants to merge 1 commit into
apache:masterfrom
Sigma-Ma:HBASE-29832-support-slf4j2
Open

Sigma-Ma wants to merge 1 commit into
apache:masterfrom
Sigma-Ma:HBASE-29832-support-slf4j2

Conversation

@Sigma-Ma

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Ship an optional SLF4J 2.x API and Log4j 2 provider in lib/slf4j2. Add --slf4j2 to classpath and mapredcp, and document how to use it.

Why are the changes needed?

Applications using SLF4J 2.x need a matching API and provider on their runtime classpath. This provides an opt-in path while retaining HBase's default SLF4J 1.7 setup.

How was this patch tested?

bash dev-support/test-slf4j2-classpath.sh

mvn -B -pl hbase-assembly,hbase-assembly-byo-hadoop -am -DskipTests -Dmaven.test.skip=true package assembly:single

mvn -B -pl hbase-assembly,hbase-assembly-byo-hadoop spotless:check

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.

1 participant