Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14644

Increase max heap size of Maven javadoc plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: test
    • Labels:
      None

      Description

      It's easy to reproduce:

      cd hadoop-common-project/hadoop-common/
      mvn javadoc:test-javadoc

      The build will fail. I tried it on OSX (2 different ones).

      ERROR] javadoc: error - Java heap space
      [ERROR] 
      [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/../bin/javadoc -J-Xmx512m @options @packages

        Activity

        Hide
        boky01 Andras Bokor added a comment -

        Attaching trivial patch which increases the max heap size of javadoc plugin.

        Show
        boky01 Andras Bokor added a comment - Attaching trivial patch which increases the max heap size of javadoc plugin.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 13s Docker mode activated.
              Prechecks
        +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.
              trunk Compile Tests
        +1 mvninstall 14m 50s trunk passed
        +1 compile 0m 9s trunk passed
        +1 mvnsite 0m 11s trunk passed
        +1 javadoc 0m 10s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 8s 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 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 1s The patch has no ill-formed XML file.
        +1 javadoc 0m 7s the patch passed
              Other Tests
        +1 unit 0m 6s hadoop-project-dist in the patch passed.
        +1 asflicense 0m 18s The patch does not generate ASF License warnings.
        17m 6s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue HADOOP-14644
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12876865/HADOOP-14644.01.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux 8d7bde6039a1 3.13.0-117-generic #164-Ubuntu SMP Fri Apr 7 11:05:26 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / b628d0d
        Default Java 1.8.0_131
        Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/12770/testReport/
        modules C: hadoop-project-dist U: hadoop-project-dist
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/12770/console
        Powered by Apache Yetus 0.6.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.       Prechecks +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.       trunk Compile Tests +1 mvninstall 14m 50s trunk passed +1 compile 0m 9s trunk passed +1 mvnsite 0m 11s trunk passed +1 javadoc 0m 10s trunk passed       Patch Compile Tests +1 mvninstall 0m 8s 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 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 1s The patch has no ill-formed XML file. +1 javadoc 0m 7s the patch passed       Other Tests +1 unit 0m 6s hadoop-project-dist in the patch passed. +1 asflicense 0m 18s The patch does not generate ASF License warnings. 17m 6s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue HADOOP-14644 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12876865/HADOOP-14644.01.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 8d7bde6039a1 3.13.0-117-generic #164-Ubuntu SMP Fri Apr 7 11:05:26 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / b628d0d Default Java 1.8.0_131 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/12770/testReport/ modules C: hadoop-project-dist U: hadoop-project-dist Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/12770/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        raviprak Ravi Prakash added a comment -

        FWIW, it worked without any changes for me on Linux. I'll let some Mac users comment.

        Show
        raviprak Ravi Prakash added a comment - FWIW, it worked without any changes for me on Linux. I'll let some Mac users comment.
        Hide
        GergelyNovak Gergely Novák added a comment -

        On my MacBook the javadoc build indeed fails without Andras Bokor's patch with OutOfMemoryError. With the patch it succeeds.

        Show
        GergelyNovak Gergely Novák added a comment - On my MacBook the javadoc build indeed fails without Andras Bokor 's patch with OutOfMemoryError. With the patch it succeeds.
        Hide
        andrew.wang Andrew Wang added a comment -

        Seems innocuous enough to me. Let's get this in, thanks for contributing this Andras!

        Show
        andrew.wang Andrew Wang added a comment - Seems innocuous enough to me. Let's get this in, thanks for contributing this Andras!
        Hide
        andrew.wang Andrew Wang added a comment -

        Thanks for the contribution Andras! Committed to trunk and branch-2.

        Show
        andrew.wang Andrew Wang added a comment - Thanks for the contribution Andras! Committed to trunk and branch-2.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12083 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12083/)
        HADOOP-14644. Increase max heap size of Maven javadoc plugin. (wang: rev 2be9412b73ae4308c5cee0186520fc2ad6d54e43)

        • (edit) hadoop-project-dist/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12083 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12083/ ) HADOOP-14644 . Increase max heap size of Maven javadoc plugin. (wang: rev 2be9412b73ae4308c5cee0186520fc2ad6d54e43) (edit) hadoop-project-dist/pom.xml

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development