Details
Description
Build fails with the below error,
[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
Updating maven-shade-plugin.version to 3.2.1 fixes the issue.