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

Hadoop maven surefire-plugin uses must set heap size

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • build
    • None
    • java 8

    Description

      Some of the hadoop tests (especially HBase) are running out of memory on Java 8, due to there not being enough heap for them

      The heap size of surefire test runs is not set in MAVEN_OPTS, it needs to be explicitly set as an argument to the test run.

      I propose

      1. hadoop-project/pom.xml defines the maximum heap size and test timeouts for surefire builds as properties
      2. modules which run tests use these values for their memory & timeout settings.
      3. these modules should also set the surefire version they want to use

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stevel@apache.org Steve Loughran Assign to me
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment