Sigma-Ma opened a new pull request, #8846:
URL: https://github.com/apache/hbase/pull/8846

   ### 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?
   
   ```bash
   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
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to