Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: build
    • Labels:
      None

      Description

      The maven-project-info-reports-plugin version 2.7 depends on maven-shared-jar-1.1, which uses bcel 5.2. This does not work well with the new lamda expression. The 2.9 depends on maven-shared-jar-1.2, which works around this problem by using the custom release of bcel 6.0.

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10520 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10520/)
        HADOOP-13671. Fix ClassFormatException in trunk build. Contributed by (kihwal: rev d6afcf364c3d5a8bdb7dbd99626fab70fe6dc47a)

        • (edit) hadoop-project/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10520 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10520/ ) HADOOP-13671 . Fix ClassFormatException in trunk build. Contributed by (kihwal: rev d6afcf364c3d5a8bdb7dbd99626fab70fe6dc47a) (edit) hadoop-project/pom.xml
        Hide
        kihwal Kihwal Lee added a comment -

        Thanks, Steve and Eric for reviews.

        Show
        kihwal Kihwal Lee added a comment - Thanks, Steve and Eric for reviews.
        Hide
        eepayne Eric Payne added a comment -

        Thanks Kihwal Lee. +1
        Committing to trunk.

        Show
        eepayne Eric Payne added a comment - Thanks Kihwal Lee . +1 Committing to trunk.
        Hide
        stevel@apache.org Steve Loughran added a comment -

        +1

        Show
        stevel@apache.org Steve Loughran added a comment - +1
        Hide
        kihwal Kihwal Lee added a comment -

        Verified that the update pulls the new version of maven-shared-jar during build and the warning no longer appears.

        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-jar/1.2/maven-shared-jar-1.2.pom (5 KB at 134.6 KB/sec)
        
        Show
        kihwal Kihwal Lee added a comment - Verified that the update pulls the new version of maven-shared-jar during build and the warning no longer appears. Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-jar/1.2/maven-shared-jar-1.2.pom (5 KB at 134.6 KB/sec)
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 21s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        +1 mvninstall 7m 51s trunk passed
        +1 compile 0m 9s trunk passed
        +1 mvnsite 0m 12s trunk passed
        +1 mvneclipse 0m 10s trunk passed
        +1 javadoc 0m 8s trunk passed
        +1 mvninstall 0m 7s the patch passed
        +1 compile 0m 6s the patch passed
        +1 javac 0m 6s the patch passed
        +1 mvnsite 0m 8s the patch passed
        +1 mvneclipse 0m 8s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 3s The patch has no ill-formed XML file.
        +1 javadoc 0m 6s the patch passed
        +1 unit 0m 6s hadoop-project in the patch passed.
        +1 asflicense 0m 17s The patch does not generate ASF License warnings.
        10m 27s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:9560f25
        JIRA Issue HADOOP-13671
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12831123/HADOOP-13671.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux 49008caaf53f 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 0670149
        Default Java 1.8.0_101
        Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/10633/testReport/
        modules C: hadoop-project U: hadoop-project
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/10633/console
        Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 21s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 mvninstall 7m 51s trunk passed +1 compile 0m 9s trunk passed +1 mvnsite 0m 12s trunk passed +1 mvneclipse 0m 10s trunk passed +1 javadoc 0m 8s trunk passed +1 mvninstall 0m 7s the patch passed +1 compile 0m 6s the patch passed +1 javac 0m 6s the patch passed +1 mvnsite 0m 8s the patch passed +1 mvneclipse 0m 8s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 3s The patch has no ill-formed XML file. +1 javadoc 0m 6s the patch passed +1 unit 0m 6s hadoop-project in the patch passed. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 10m 27s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue HADOOP-13671 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12831123/HADOOP-13671.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 49008caaf53f 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 0670149 Default Java 1.8.0_101 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/10633/testReport/ modules C: hadoop-project U: hadoop-project Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/10633/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        kihwal Kihwal Lee added a comment -

        The current trunk build has this:

        [WARNING] Unable to process class org/apache/hadoop/hdfs/StripeReader.class in 
        JarAnalyzer File /home1/kihwal/devel/apache/hadoop/hadoop-hdfs-project/
        hadoop-hdfs-client/target/hadoop-hdfs-client-3.0.0-alpha2-SNAPSHOT.jar
        org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
            at org.apache.bcel.classfile.Constant.readConstant(Constant.java:146)
            at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:67)
            at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:222)
            at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:136)
            at org.apache.maven.shared.jar.classes.JarClassesAnalysis.analyze(JarClassesAnalysis.java:92)
        ...
        
        Show
        kihwal Kihwal Lee added a comment - The current trunk build has this: [WARNING] Unable to process class org/apache/hadoop/hdfs/StripeReader.class in JarAnalyzer File /home1/kihwal/devel/apache/hadoop/hadoop-hdfs-project/ hadoop-hdfs-client/target/hadoop-hdfs-client-3.0.0-alpha2-SNAPSHOT.jar org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18 at org.apache.bcel.classfile.Constant.readConstant(Constant.java:146) at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:67) at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:222) at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:136) at org.apache.maven.shared.jar.classes.JarClassesAnalysis.analyze(JarClassesAnalysis.java:92) ...

          People

          • Assignee:
            kihwal Kihwal Lee
            Reporter:
            kihwal Kihwal Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development