Skip to content

HBASE-30503 Exclude forked jersey-json from client artifacts and binary distributions - #8846

Open
Sigma-Ma wants to merge 1 commit into
apache:masterfrom
Sigma-Ma:HBASE-30503-exclude-forked-jersey-json
Open

Sigma-Ma wants to merge 1 commit into
apache:masterfrom
Sigma-Ma:HBASE-30503-exclude-forked-jersey-json

Conversation

@Sigma-Ma

@Sigma-Ma Sigma-Ma commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Exclude the forked jersey-json from client dependencies and binary assemblies, and add a shaded JAR check for Jersey 1.x classes.

Why are the changes needed?

Hadoop 3.3.5 changed the jersey-json group ID. The old exclusions miss the fork, leaving JAX-RS providers without their required Jersey classes and causing NoClassDefFoundError during provider discovery.

How was this patch tested?

mvn -o -B -ntp -pl hbase-shaded/hbase-shaded-with-hadoop-check-invariants -am -DskipTests clean verify

mvn -o -B -ntp -pl hbase-server '-Dtest=TestHBaseTestingUtil#testMiniDFSCluster' -Dsurefire.firstPartGroups=org.apache.hadoop.hbase.testclassification.LargeTests -Dsurefire.skipSecondPart=true -Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 test

mvn -o -B -ntp -pl hbase-mapreduce '-Dtest=TestHBaseMRTestingUtility#testMRYarnConfigsPopulation' -Dsurefire.firstPartGroups=org.apache.hadoop.hbase.testclassification.LargeTests -Dsurefire.skipSecondPart=true -Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 test

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