[ 
https://issues.apache.org/jira/browse/HBASE-26717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483487#comment-17483487
 ] 

Andrew Kyle Purtell edited comment on HBASE-26717 at 1/28/22, 12:40 AM:
------------------------------------------------------------------------

I've tried a few things and it makes no difference. How does one go about 
debugging this situation? 

Adding this to hbase-shaded-mapreduce/pom.xml removes all mention of 
'activation' and 'bind' from the 'mvn dependency:tree' report yet the problem 
persists. 
{noformat}
diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml 
b/hbase-shaded/hbase-shaded-mapreduce/pom.xml
index c245438370..2738d850b1 100644
--- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml
+++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml
@@ -83,6 +83,10 @@
                 <groupId>javax.ws.rs</groupId>
                 <artifactId>jsr311-api</artifactId>
               </exclusion>
+              <exclusion>
+                <groupId>javax.activation</groupId>
+                <artifactId>javax.activation-api</artifactId>
+              </exclusion>
               <!-- Jersey not used by our MR support -->
               <exclusion>
                 <groupId>javax.ws.rs</groupId>
@@ -263,6 +267,14 @@
               <artifactId>hadoop-mapreduce-client-core</artifactId>
               <scope>provided</scope>
               <exclusions>
+                <exclusion>
+                  <groupId>javax.xml.bind</groupId>
+                  <artifactId>jaxb-api</artifactId>
+                </exclusion>
+                <exclusion>
+                  <groupId>com.sun.xml.bind</groupId>
+                  <artifactId>jaxb-impl</artifactId>
+                </exclusion>
                 <exclusion>
                   <groupId>com.google.guava</groupId>
                   <artifactId>guava</artifactId>

{noformat}


was (Author: apurtell):
I've tried a few things and it makes no difference. How does one go about 
debugging this situation? 

> [branch-2.5] hbase-shaded-check-invariants check fails
> ------------------------------------------------------
>
>                 Key: HBASE-26717
>                 URL: https://issues.apache.org/jira/browse/HBASE-26717
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 2.5.0
>         Environment: Apache Maven 3.6.3
> Java version: 1.8.0_312, vendor: Andrew Purtell, runtime: /opt/java-8/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.10.0-11-arm64", arch: "aarch64", family: "unix"
>            Reporter: Andrew Kyle Purtell
>            Priority: Major
>             Fix For: 2.5.0
>
>
> Found artifact with unexpected contents: 
> '/home/apurtell/src/hbase/hbase-shaded/hbase-shaded-mapreduce/target/hbase-shaded-mapreduce-2.5.0-SNAPSHOT.jar'
> com/sun/activation/
> javax/activation/
> javax/xml/bind/
> BYO-hadoop artifact is fine, the artifact that includes Hadoop is not.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to