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

Sean Busbey commented on HBASE-22087:
-------------------------------------

{quote}
bq. This is concerning, as relocating and including javax.activation is 
probably not correct behavior.

This was explicitly included in Hadoop because of JDK9 support.
I excluded javax.activation from HBase. This should be consistent with the 
handling of javax.annotation.
{quote}

I get that. I'm just saying that it's not clear to me that it should be done 
this broadly. e.g. JVM for JDK8 already provides the {{javax.annotation}} 
classes. Should these versions of Hadoop not be used with JDK8? JDK9 and JDK10 
will provide the {{javax.annotation}} module so long as you start with 
{{--add-modules javax.annotation}}. The only place you *need* to have it 
brought with you is JDK11+.

> Update LICENSE/shading for the dependencies from the latest Hadoop trunk
> ------------------------------------------------------------------------
>
>                 Key: HBASE-22087
>                 URL: https://issues.apache.org/jira/browse/HBASE-22087
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: HBASE-22087.master.001.patch, depcheck_hadoop33.log
>
>
> The following list of dependencies were added in Hadoop trunk (3.3.0) and 
> HBase does not compile successfully:
> YARN-8778 added jline 3.9.0
> HADOOP-15775 added javax.activation
> HADOOP-15531 added org.apache.common.text (commons-text)
> HADOOP-15764 added dnsjava (org.xbill)
> Some of these are needed to support JDK9/10/11 in Hadoop.



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

Reply via email to