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 "Dinesh Chitlangia (JIRA)" <ji...@apache.org> on 2019/01/07 07:20:00 UTC
[jira] [Updated] (HADOOP-15937) [JDK 11] Update
maven-shade-plugin.version to 3.2.1
[ https://issues.apache.org/jira/browse/HADOOP-15937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinesh Chitlangia updated HADOOP-15937:
---------------------------------------
Attachment: HADOOP-15937.01.patch
Status: Patch Available (was: Open)
[~devaraj.k] thanks for filing the issue and recommendation.
Attached patch 01 for review.
> [JDK 11] Update maven-shade-plugin.version to 3.2.1
> ---------------------------------------------------
>
> Key: HADOOP-15937
> URL: https://issues.apache.org/jira/browse/HADOOP-15937
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build
> Environment: openjdk version "11" 2018-09-25
> Reporter: Devaraj K
> Assignee: Dinesh Chitlangia
> Priority: Major
> Attachments: HADOOP-15937.01.patch
>
>
> Build fails with the below error,
> {code:xml}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade (default) on project hadoop-yarn-csi: Error creating shaded jar: Problem shading JAR /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/hadoop-yarn-csi-3.3.0-SNAPSHOT.jar entry csi/v0/Csi$GetPluginInfoRequestOrBuilder.class: org.apache.maven.plugin.MojoExecutionException: Error in ASM processing class csi/v0/Csi$GetPluginInfoRequestOrBuilder.class: UnsupportedOperationException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade (default) on project hadoop-yarn-csi: Error creating shaded jar: Problem shading JAR /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/hadoop-yarn-csi-3.3.0-SNAPSHOT.jar entry csi/v0/Csi$GetPluginInfoRequestOrBuilder.class: org.apache.maven.plugin.MojoExecutionException: Error in ASM processing class csi/v0/Csi$GetPluginInfoRequestOrBuilder.class
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
> .......
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :hadoop-yarn-csi
> {code}
> Updating maven-shade-plugin.version to 3.2.1 fixes the issue.
--
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