Details

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

      Description

      I'm seeing the following warning in OpenJDK 9.

      [INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-minikdc ---
      [WARNING] Unable to find the javadoc version: Unrecognized version of Javadoc: 'java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+154)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+154, mixed mode)
      ' near index 37
      (?s).*?([0-9]+\.[0-9]+)(\.([0-9]+))?.*
                                           ^
      [WARNING] Using the Java the version instead of, i.e. 0.0
      

      Need to update this to 2.10.4. (MJAVADOC-441)

        Activity

        Hide
        ajisakaa Akira Ajisaka added a comment -

        How to test:

        $ MAVEN_OPTS="--add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED" mvn javadoc:javadoc
        

        and the warning is not occurred. The command fails by HADOOP-11875.

        Show
        ajisakaa Akira Ajisaka added a comment - How to test: $ MAVEN_OPTS= "--add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED" mvn javadoc:javadoc and the warning is not occurred. The command fails by HADOOP-11875 .
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 13s 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.
        0 mvndep 1m 29s Maven dependency ordering for branch
        +1 mvninstall 14m 10s trunk passed
        +1 compile 14m 18s trunk passed
        +1 mvnsite 9m 21s trunk passed
        +1 mvneclipse 1m 11s trunk passed
        +1 javadoc 4m 31s trunk passed
        0 mvndep 0m 13s Maven dependency ordering for patch
        +1 mvninstall 13m 15s the patch passed
        +1 compile 10m 47s the patch passed
        +1 javac 10m 47s the patch passed
        +1 mvnsite 9m 43s the patch passed
        +1 mvneclipse 1m 7s 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 4m 42s the patch passed
        -1 unit 110m 6s root in the patch failed.
        -1 asflicense 0m 34s The patch generated 2 ASF License warnings.
        196m 33s



        Reason Tests
        Failed junit tests hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure
          hadoop.yarn.server.timeline.webapp.TestTimelineWebServices



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:a9ad5d6
        JIRA Issue HADOOP-14056
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12850970/HADOOP-14056.01.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux ff76b0a65ccb 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 3ea6d35
        Default Java 1.8.0_121
        unit https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/artifact/patchprocess/patch-unit-root.txt
        Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/testReport/
        asflicense https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/artifact/patchprocess/patch-asflicense-problems.txt
        modules C: hadoop-project . U: .
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/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 13s 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. 0 mvndep 1m 29s Maven dependency ordering for branch +1 mvninstall 14m 10s trunk passed +1 compile 14m 18s trunk passed +1 mvnsite 9m 21s trunk passed +1 mvneclipse 1m 11s trunk passed +1 javadoc 4m 31s trunk passed 0 mvndep 0m 13s Maven dependency ordering for patch +1 mvninstall 13m 15s the patch passed +1 compile 10m 47s the patch passed +1 javac 10m 47s the patch passed +1 mvnsite 9m 43s the patch passed +1 mvneclipse 1m 7s 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 4m 42s the patch passed -1 unit 110m 6s root in the patch failed. -1 asflicense 0m 34s The patch generated 2 ASF License warnings. 196m 33s Reason Tests Failed junit tests hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure   hadoop.yarn.server.timeline.webapp.TestTimelineWebServices Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue HADOOP-14056 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12850970/HADOOP-14056.01.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux ff76b0a65ccb 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 3ea6d35 Default Java 1.8.0_121 unit https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/artifact/patchprocess/patch-unit-root.txt Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/testReport/ asflicense https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-project . U: . Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/11583/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        After applying the patches in HADOOP-11875 and HADOOP-14057, the above command succeeded.

        Show
        ajisakaa Akira Ajisaka added a comment - After applying the patches in HADOOP-11875 and HADOOP-14057 , the above command succeeded.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Hi Steve Loughran, would you review this patch?

        Show
        ajisakaa Akira Ajisaka added a comment - Hi Steve Loughran , would you review this patch?
        Hide
        stevel@apache.org Steve Loughran added a comment -

        This patch can go in while HADOOP-11875 is still outstanding? If so, +1 from me

        Show
        stevel@apache.org Steve Loughran added a comment - This patch can go in while HADOOP-11875 is still outstanding? If so, +1 from me
        Hide
        ajisakaa Akira Ajisaka added a comment -

        This patch can go in while HADOOP-11875 is still outstanding?

        Yes. Thank you for reviewing this!

        Show
        ajisakaa Akira Ajisaka added a comment - This patch can go in while HADOOP-11875 is still outstanding? Yes. Thank you for reviewing this!
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk.

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11351 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11351/)
        HADOOP-14056. Update maven-javadoc-plugin to 2.10.4. (aajisaka: rev fad766e1d255648ee5dd9bc1f58cef42b930bc83)

        • (edit) pom.xml
        • (edit) hadoop-project/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11351 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11351/ ) HADOOP-14056 . Update maven-javadoc-plugin to 2.10.4. (aajisaka: rev fad766e1d255648ee5dd9bc1f58cef42b930bc83) (edit) pom.xml (edit) hadoop-project/pom.xml

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development