briaugenreich commented on PR #4786:
URL: https://github.com/apache/hbase/pull/4786#issuecomment-1247941385

   I'm trying to reproduce/troubleshoot the issues above locally. I am able to 
successfully build with a subset of tests with the following command: 
   
   ```
    mvn clean verify -pl hbase-client -am -Phadoop-3.0 -Dhadoop.profile=3.0  
-Dtest=TestMetricsConnection,TestAsyncProcess,TestAsyncProcessWithRegionException,TestRpcRetryingCallerImpl,TestHBaseAdminNoCluster
   
   .
   .
   .
   [INFO] Reactor Summary for Apache HBase 2.6.0-SNAPSHOT:
   [INFO] 
   [INFO] Apache HBase ....................................... SUCCESS [  3.716 
s]
   [INFO] Apache HBase - Checkstyle .......................... SUCCESS [  0.766 
s]
   [INFO] Apache HBase - Annotations ......................... SUCCESS [  0.582 
s]
   [INFO] Apache HBase - Build Configuration ................. SUCCESS [  0.151 
s]
   [INFO] Apache HBase - Logging ............................. SUCCESS [  0.790 
s]
   [INFO] Apache HBase - Shaded Protocol ..................... SUCCESS [ 10.839 
s]
   [INFO] Apache HBase - Common .............................. SUCCESS [  9.092 
s]
   [INFO] Apache HBase - Metrics API ......................... SUCCESS [  1.479 
s]
   [INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [  1.998 
s]
   [INFO] Apache HBase - Metrics Implementation .............. SUCCESS [  1.521 
s]
   [INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [  3.011 
s]
   [INFO] Apache HBase - Protocol ............................ SUCCESS [  3.015 
s]
   [INFO] Apache HBase - Client .............................. SUCCESS [ 10.489 
s]
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  48.488 s
   [INFO] Finished at: 2022-09-15T06:54:22-04:00
   [INFO] 
------------------------------------------------------------------------
   
   ``` 
   
   When I try to run a spotbugs check locally I get the following error 
   
   ```
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  2.283 s
   [INFO] Finished at: 2022-09-15T06:56:21-04:00
   [INFO] 
------------------------------------------------------------------------
   .
   .
   .
   ---------------------------------------------------
   Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/commons/codec/binary/Base64
           at 
org.apache.http.impl.auth.BasicScheme.authenticate(BasicScheme.java:166)
           at 
org.apache.http.client.protocol.RequestAuthenticationBase.authenticate(RequestAuthenticationBase.java:123)
   .
   .
   .
   Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.codec.binary.Base64
           at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
           at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
           at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
           at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
           ... 60 more
   
   ``` 
   
   Any tips on troubleshooting my build issues are much appreciated. 
   
   cc: @bbeaudreault 


-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to