You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Devaraj K (JIRA)" <ji...@apache.org> on 2018/11/16 06:44:00 UTC

[jira] [Created] (HADOOP-15938) [JDK 11] hadoop-annotations build fails with 'Failed to check signatures'

Devaraj K created HADOOP-15938:
----------------------------------

             Summary: [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


{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