hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15938) [JDK 11] hadoop-annotations build fails with 'Failed to check signatures'
Date Sat, 17 Nov 2018 00:11:00 GMT

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

Uma Maheswara Rao G commented on HADOOP-15938:
----------------------------------------------

Tried to upgrade animal sniffer plugin to 1.17 and asm to 6.2.1, but I see the following exception:
{noformat}
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check (signature-check)
on project hadoop-annotations: Execution signature-check of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check
failed.: UnsupportedOperationException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check
(signature-check) on project hadoop-annotations: Execution signature-check of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check
failed.
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213){noformat}
{code:java}
Caused by: java.lang.UnsupportedOperationException
 at org.objectweb.asm.ClassVisitor.visitNestMemberExperimental (ClassVisitor.java:248)
 at org.objectweb.asm.ClassReader.accept (ClassReader.java:651)
 at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
 at org.codehaus.mojo.animal_sniffer.ClassListBuilder.process (ClassListBuilder.java:70)
 at org.codehaus.mojo.animal_sniffer.ClassFileVisitor.processClassFile (ClassFileVisitor.java:198)
 at org.codehaus.mojo.animal_sniffer.ClassFileVisitor.process (ClassFileVisitor.java:116){code}

> [JDK 11] hadoop-annotations build fails with 'Failed to check signatures'
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-15938
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15938
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>         Environment: openjdk version "11" 2018-09-25
>            Reporter: Devaraj K
>            Priority: Major
>
> {code:xml}
> [INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
> [ERROR] Bad class file /hadoop/hadoop-common-project/hadoop-annotations/target/classes/org/apache/hadoop/classification/InterfaceAudience.class
> {code}
> {code:xml}
> [ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
(signature-check) on project hadoop-annotations: Failed to check signatures: Bad class file
/hadoop/hadoop-common-project/hadoop-annotations/target/classes/org/apache/hadoop/classification/InterfaceAudience.class:
IllegalArgumentException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
(signature-check) on project hadoop-annotations: Failed to check signatures
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
> {code}
> {code:xml}
> Caused by: java.io.IOException: Bad class file /hadoop/hadoop-common-project/hadoop-annotations/target/classes/org/apache/hadoop/classification/InterfaceAudience.class
>     at org.codehaus.mojo.animal_sniffer.ClassListBuilder.process (ClassListBuilder.java:91)
> {code}
> {code:xml}
> Caused by: java.lang.IllegalArgumentException
>     at org.objectweb.asm.ClassReader.<init> (Unknown Source)
>     at org.objectweb.asm.ClassReader.<init> (Unknown Source)
>     at org.objectweb.asm.ClassReader.<init> (Unknown Source)
>     at org.codehaus.mojo.animal_sniffer.ClassListBuilder.process (ClassListBuilder.java:69)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message