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

[JDK 11] Remove animal-sniffer-maven-plugin to fix build

    XMLWordPrintableJSON

Details

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

    • Reviewed

    Description

      [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
      
      [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)
      
      
      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)
      
      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)
      

      Attachments

        1. HADOOP-15938.001.patch
          0.7 kB
          Dinesh Chitlangia
        2. HADOOP-15938.002.patch
          1 kB
          Dinesh Chitlangia

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: