Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31B4318566 for ; Tue, 28 Jul 2015 18:27:23 +0000 (UTC) Received: (qmail 30252 invoked by uid 500); 28 Jul 2015 18:27:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 30190 invoked by uid 500); 28 Jul 2015 18:27:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 30174 invoked by uid 99); 28 Jul 2015 18:27:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 18:27:05 +0000 Date: Tue, 28 Jul 2015 18:27:05 +0000 (UTC) From: "Alan Burlison (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12261) Surefire needs to make sure the JVMs it fires up fit within the memory available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644801#comment-14644801 ] Alan Burlison commented on HADOOP-12261: ---------------------------------------- Using it on the Apache Jenkins infrastructure seem reasonable enough, making it a prerequisite for people trying to run the tests on their own machines, not. The biggest problem I have is the unpredictability of the tests - I get different results on every run, even on Linux, which makes it impossible to know if any particular failure is due to a change you've made or just part of the general random brokenness of the tests. > Surefire needs to make sure the JVMs it fires up fit within the memory available > -------------------------------------------------------------------------------- > > Key: HADOOP-12261 > URL: https://issues.apache.org/jira/browse/HADOOP-12261 > Project: Hadoop Common > Issue Type: Sub-task > Components: test > Affects Versions: 2.7.1 > Reporter: Alan Burlison > Assignee: Alan Burlison > > hadoop-project/pom.xml sets maven-surefire-plugin.argLine to include -Xmx4096m. Allocating that amount of memory requires a 64-bit JVM, but on platforms with both 32 and 64-bit JVMs surefire runs the 32 bit version by default and tests fail to start as a result. "-d64" should be added to the command-line arguments to ensure a 64-bit JVM is always used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)