Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5166

javadoc:javadoc goal fails on hadoop-yarn-client

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      mvn clean javadoc:javadoc -DskipTests
      2 errors
      180 warnings
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 5.758 s
      [INFO] Finished at: 2016-05-27T00:21:42+02:00
      [INFO] Final Memory: 29M/391M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:javadoc (default-cli) on project hadoop-yarn-client: An error has occurred in JavaDocs report generation:
      [ERROR] Exit code: 1 - /Users/abokor/work/hdp/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AHSClient.java:48: warning: no @return
      [ERROR] public static AHSClient createAHSClient() {
      
      1. YARN-5166.01.patch
        1.0 kB
        Andras Bokor

        Issue Links

          Activity

          Hide
          boky01 Andras Bokor added a comment -

          Uploaded YARN-5166.01.patch. Please somebody review.

          Show
          boky01 Andras Bokor added a comment - Uploaded YARN-5166.01.patch . Please somebody review.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 12s 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 6m 23s trunk passed
          +1 compile 0m 16s trunk passed
          +1 checkstyle 0m 15s trunk passed
          +1 mvnsite 0m 20s trunk passed
          +1 mvneclipse 0m 11s trunk passed
          +1 findbugs 0m 27s trunk passed
          -1 javadoc 0m 14s hadoop-yarn-client in trunk failed.
          +1 mvninstall 0m 16s the patch passed
          +1 compile 0m 14s the patch passed
          +1 javac 0m 14s the patch passed
          +1 checkstyle 0m 11s the patch passed
          +1 mvnsite 0m 17s the patch passed
          +1 mvneclipse 0m 9s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 0m 31s the patch passed
          -1 javadoc 0m 57s hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client generated 180 new + 0 unchanged - 181 fixed = 180 total (was 181)
          +1 javadoc 0m 12s the patch passed
          -1 unit 68m 7s hadoop-yarn-client in the patch failed.
          +1 asflicense 0m 15s Patch does not generate ASF License warnings.
          79m 5s



          Reason Tests
          Failed junit tests hadoop.yarn.client.TestGetGroups
            hadoop.yarn.client.api.impl.TestDistributedScheduling
            hadoop.yarn.client.api.impl.TestAMRMProxy
          Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI
            org.apache.hadoop.yarn.client.api.impl.TestYarnClient
            org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
            org.apache.hadoop.yarn.client.api.impl.TestNMClient



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:2c91fd8
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12806499/YARN-5166.01.patch
          JIRA Issue YARN-5166
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 42a32ce26569 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 / 5b41b28
          Default Java 1.8.0_91
          findbugs v3.0.0
          javadoc https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/branch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt
          javadoc hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client: https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/diff-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt
          unit https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt
          unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt
          Test Results https://builds.apache.org/job/PreCommit-YARN-Build/11724/testReport/
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/11724/console
          Powered by Apache Yetus 0.2.0 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 12s 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 6m 23s trunk passed +1 compile 0m 16s trunk passed +1 checkstyle 0m 15s trunk passed +1 mvnsite 0m 20s trunk passed +1 mvneclipse 0m 11s trunk passed +1 findbugs 0m 27s trunk passed -1 javadoc 0m 14s hadoop-yarn-client in trunk failed. +1 mvninstall 0m 16s the patch passed +1 compile 0m 14s the patch passed +1 javac 0m 14s the patch passed +1 checkstyle 0m 11s the patch passed +1 mvnsite 0m 17s the patch passed +1 mvneclipse 0m 9s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 0m 31s the patch passed -1 javadoc 0m 57s hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client generated 180 new + 0 unchanged - 181 fixed = 180 total (was 181) +1 javadoc 0m 12s the patch passed -1 unit 68m 7s hadoop-yarn-client in the patch failed. +1 asflicense 0m 15s Patch does not generate ASF License warnings. 79m 5s Reason Tests Failed junit tests hadoop.yarn.client.TestGetGroups   hadoop.yarn.client.api.impl.TestDistributedScheduling   hadoop.yarn.client.api.impl.TestAMRMProxy Timed out junit tests org.apache.hadoop.yarn.client.cli.TestYarnCLI   org.apache.hadoop.yarn.client.api.impl.TestYarnClient   org.apache.hadoop.yarn.client.api.impl.TestAMRMClient   org.apache.hadoop.yarn.client.api.impl.TestNMClient Subsystem Report/Notes Docker Image:yetus/hadoop:2c91fd8 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12806499/YARN-5166.01.patch JIRA Issue YARN-5166 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 42a32ce26569 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 / 5b41b28 Default Java 1.8.0_91 findbugs v3.0.0 javadoc https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/branch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt javadoc hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client: https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/diff-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt unit test logs https://builds.apache.org/job/PreCommit-YARN-Build/11724/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/11724/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client Console output https://builds.apache.org/job/PreCommit-YARN-Build/11724/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
          Hide
          boky01 Andras Bokor added a comment -

          Akira Ajisaka,

          It is similar to YARN-4294 and YARN-4300.

          The javadoc failure on trunk makes sense. The javadoc generation currently fails on trunk so the expectation is failing pre-patch and pass after patch.
          The new javadoc warnings do not make sense. I guess they are because the previous failures.
          The unit test failures are unrelated.

          Locally everything also seems OK. Could you please check my patch?

          Show
          boky01 Andras Bokor added a comment - Akira Ajisaka , It is similar to YARN-4294 and YARN-4300 . The javadoc failure on trunk makes sense. The javadoc generation currently fails on trunk so the expectation is failing pre-patch and pass after patch. The new javadoc warnings do not make sense. I guess they are because the previous failures. The unit test failures are unrelated. Locally everything also seems OK. Could you please check my patch?
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Thanks Andras Bokor for reporting this and providing the patch. +1, committing this shortly.

          Show
          ajisakaa Akira Ajisaka added a comment - Thanks Andras Bokor for reporting this and providing the patch. +1, committing this shortly.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Committed this to trunk, branch-2, and branch-2.8. Thank you, Andras!

          Show
          ajisakaa Akira Ajisaka added a comment - Committed this to trunk, branch-2, and branch-2.8. Thank you, Andras!
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-trunk-Commit #9877 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9877/)
          YARN-5166. javadoc:javadoc goal fails on hadoop-yarn-client. Contributed (aajisaka: rev e4022debf717083ab9192164af9978500035d1be)

          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/YarnClient.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #9877 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9877/ ) YARN-5166 . javadoc:javadoc goal fails on hadoop-yarn-client. Contributed (aajisaka: rev e4022debf717083ab9192164af9978500035d1be) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/YarnClient.java

            People

            • Assignee:
              boky01 Andras Bokor
              Reporter:
              boky01 Andras Bokor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development