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

Josh Elser commented on HBASE-18891:
------------------------------------

{noformat}
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce 
(hadoop-profile-min-maven-min-java-banned-xerces) @ hbase-prefix-tree ---
[INFO] Restricted to JDK 1.7 yet io.netty:netty-all:jar:4.0.52.Final:compile 
contains io/netty/util/internal/shaded/org/jctools/queues/package-info.class 
targeted to JDK 1.8
[WARNING] Rule 4: org.apache.maven.plugins.enforcer.EnforceBytecodeVersion 
failed with message:
HBase has unsupported dependencies.
  HBase requires that all dependencies be compiled with version 1.7 or earlier
  of the JDK to properly build from source.  You appear to be using a newer 
dependency. You can use
  either "mvn -version" or "mvn enforcer:display-info" to verify what version 
is active.
  Non-release builds can temporarily build with a newer JDK version by setting 
the
  'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
Found Banned Dependency: io.netty:netty-all:jar:4.0.52.Final
Use 'mvn dependency:tree' to locate the source of the banned dependencies.
{noformat}

Seems the newer netty bundles JCTools which was compiled with Java8. I guess 
that means we have to back off the version of Netty a little bit to find a 
version which doesn't have this.

> Upgrade netty-all jar
> ---------------------
>
>                 Key: HBASE-18891
>                 URL: https://issues.apache.org/jira/browse/HBASE-18891
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 1.3.2, 1.2.8
>
>         Attachments: HBASE-18891.001.branch-1.3.patch, 
> HBASE-18891.002.branch-1.3.patch, HBASE-18891.002.branch-1.3.patch, 
> HBASE-18891.002.branch-1.3.patch
>
>
> Upgrade netty-all jar to 4.0.37.Final version to fix latest vulnerabilities 
> reported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to