hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Chitlangia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15938) [JDK 11] hadoop-annotations build fails with 'Failed to check signatures'
Date Mon, 04 Feb 2019 19:17:00 GMT

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

Dinesh Chitlangia commented on HADOOP-15938:
--------------------------------------------

[~ajisakaa] That is such a wonderful discovery! Since it is not going to be supported in future,
I agree with you that we can remove it. Attached Patch 002 with change.

> [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
>    Affects Versions: 0.3.2
>         Environment: openjdk version "11" 2018-09-25
>            Reporter: Devaraj K
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>         Attachments: HADOOP-15938.001.patch, HADOOP-15938.002.patch
>
>
> {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