Details

    • Type: Sub-task
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      Due to MWAR-405, build fails with Java 9. The issue is fixed in maven war plugin 3.1.0.

      1. HADOOP-14335.testing.patch
        1 kB
        Akira Ajisaka
      2. HADOOP-14355.01.patch
        0.7 kB
        Akira Ajisaka

        Issue Links

          Activity

          Hide
          ajisakaa Akira Ajisaka added a comment -

          Now Maven WAR plugin 3.1.0 release vote is in progress.

          Show
          ajisakaa Akira Ajisaka added a comment - Now Maven WAR plugin 3.1.0 release vote is in progress.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Attaching a patch for testing.
          I can successfully compiled hadoop-auth-examples module without any error by mvn clean install -DskipTests -Pstaged-releases

          [INFO] --- maven-war-plugin:3.1.0:war (default-war) @ hadoop-auth-examples ---
          [INFO] Packaging webapp
          [INFO] Assembling webapp [hadoop-auth-examples] in [/Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-auth-examples/target/hadoop-auth-examples-3.0.0-alpha3-SNAPSHOT]
          [INFO] Processing war project
          [INFO] Copying webapp resources [/Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-auth-examples/src/main/webapp]
          [INFO] Webapp assembled in [162 msecs]
          [INFO] Building war: /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-auth-examples/target/hadoop-auth-examples.war
          

          without the change, it fails. Please see HADOOP-13915 for the detail.

          Show
          ajisakaa Akira Ajisaka added a comment - Attaching a patch for testing. I can successfully compiled hadoop-auth-examples module without any error by mvn clean install -DskipTests -Pstaged-releases [INFO] --- maven-war-plugin:3.1.0:war (default-war) @ hadoop-auth-examples --- [INFO] Packaging webapp [INFO] Assembling webapp [hadoop-auth-examples] in [/Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-auth-examples/target/hadoop-auth-examples-3.0.0-alpha3-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-auth-examples/src/main/webapp] [INFO] Webapp assembled in [162 msecs] [INFO] Building war: /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-auth-examples/target/hadoop-auth-examples.war without the change, it fails. Please see HADOOP-13915 for the detail.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          why the new staging entry?

          Show
          stevel@apache.org Steve Loughran added a comment - why the new staging entry?
          Show
          ajisakaa Akira Ajisaka added a comment - because 3.1.0 has not been released yet. https://lists.apache.org/thread.html/b552c209ed0180d74867ecb2e3a5a34ed158667cacd0a99e3757953a@%3Cdev.maven.apache.org%3E
          Hide
          ajisakaa Akira Ajisaka added a comment -

          The patch is a sample patch, not ready for commit.

          Show
          ajisakaa Akira Ajisaka added a comment - The patch is a sample patch, not ready for commit.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Attaching a patch to use the released maven war plugin 3.1.0.

          Show
          ajisakaa Akira Ajisaka added a comment - Attaching a patch to use the released maven war plugin 3.1.0.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 19s 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 13m 21s trunk passed
          +1 compile 0m 9s trunk passed
          +1 mvnsite 0m 11s trunk passed
          +1 mvneclipse 0m 10s trunk passed
          +1 javadoc 0m 10s trunk passed
          +1 mvninstall 0m 8s the patch passed
          +1 compile 0m 6s the patch passed
          +1 javac 0m 6s the patch passed
          +1 mvnsite 0m 9s the patch passed
          +1 mvneclipse 0m 8s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 xml 0m 2s The patch has no ill-formed XML file.
          +1 javadoc 0m 7s the patch passed
          +1 unit 0m 7s hadoop-project in the patch passed.
          +1 asflicense 0m 16s The patch does not generate ASF License warnings.
          15m 59s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:14b5c93
          JIRA Issue HADOOP-14355
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12865880/HADOOP-14355.01.patch
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
          uname Linux df5870db739c 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / b0f54ea
          Default Java 1.8.0_121
          Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/12221/testReport/
          modules C: hadoop-project U: hadoop-project
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/12221/console
          Powered by Apache Yetus 0.5.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 19s 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 13m 21s trunk passed +1 compile 0m 9s trunk passed +1 mvnsite 0m 11s trunk passed +1 mvneclipse 0m 10s trunk passed +1 javadoc 0m 10s trunk passed +1 mvninstall 0m 8s the patch passed +1 compile 0m 6s the patch passed +1 javac 0m 6s the patch passed +1 mvnsite 0m 9s the patch passed +1 mvneclipse 0m 8s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 2s The patch has no ill-formed XML file. +1 javadoc 0m 7s the patch passed +1 unit 0m 7s hadoop-project in the patch passed. +1 asflicense 0m 16s The patch does not generate ASF License warnings. 15m 59s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue HADOOP-14355 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12865880/HADOOP-14355.01.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux df5870db739c 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / b0f54ea Default Java 1.8.0_121 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/12221/testReport/ modules C: hadoop-project U: hadoop-project Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/12221/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.

            People

            • Assignee:
              ajisakaa Akira Ajisaka
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development