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

Andrew Purtell edited comment on HBASE-22519 at 6/1/19 10:26 PM:
-----------------------------------------------------------------

Local tests look good. These dependencies are not required for HBase 
communicating with Hadoop. 

nimbusds is used in JWTRedirectAuthenticationHandler which was added by 
HADOOP-11717. It's server side functionality, although if we ever wanted to 
incorporate this functionality into our infoserver stack we'd want to 
un-exclude.  

The okhttp dependency comes from HDFS-8155, support for OAuth2 credentials with 
WebHDFS. When bundled with HBase no WebHDFS options or access methods are 
utilized.

Also remove duplicate exclusions from hbase-rsgroups module. The exclusions in 
the parent hbase module already apply. I do see htrace exclusions even in leaf 
modules so put that one there. No compelling reason to do so other than sake of 
consistency with other leaf POMs. Future followup could include tidying the 
POMs. Not in scope here (IMHO) 


was (Author: apurtell):
Local tests look good. These dependencies are not required for HBase 
communicating with Hadoop. 

nimbusds is used in JWTRedirectAuthenticationHandler which was added by 
HADOOP-11717. It's server side functionality, although if we ever wanted to 
incorporate this functionality into our infoserver stack we'd want to 
un-exclude.  

The okhttp dependency comes from HDFS-8155, support for OAuth2 credentials with 
WebHDFS. When bundled with HBase no WebHDFS options or access methods are 
utilized. 

> New Hadoop 2.8 dependencies fail shaded invariants check
> --------------------------------------------------------
>
>                 Key: HBASE-22519
>                 URL: https://issues.apache.org/jira/browse/HBASE-22519
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Major
>             Fix For: 1.5.0
>
>         Attachments: HBASE-22519-branch-1.patch
>
>
> After moving up the default Hadoop version for the branch-1 build from 2.7 to 
> 2.8, hbase-shaded-check-invariants step fails due to new unshaded Hadoop 
> dependencies com.nimbusds:nimbus-jose-jwt: and 
> com.github.stephenc.jcip:jcip-annotations. After excluding those, then 
> com.squareup:okhttp. Go through and exclude or shade them all. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to