Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15338 Java 11 runtime support
  3. HADOOP-15937

[JDK 11] Update maven-shade-plugin.version to 3.2.1

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • build
    • None
    • openjdk version "11" 2018-09-25

    • Reviewed

    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.

      Attachments

        1. HADOOP-15937.01.patch
          0.7 kB
          Dinesh Chitlangia

        Activity

          People

            dineshchitlangia Dinesh Chitlangia
            devaraj Devaraj Kavali
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: