Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BD0F5200BC2 for ; Wed, 2 Nov 2016 17:42:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BC120160B0A; Wed, 2 Nov 2016 16:42:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 098B9160B10 for ; Wed, 2 Nov 2016 17:41:59 +0100 (CET) Received: (qmail 98042 invoked by uid 500); 2 Nov 2016 16:41:58 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 97847 invoked by uid 99); 2 Nov 2016 16:41:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 16:41:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC2202C0005 for ; Wed, 2 Nov 2016 16:41:58 +0000 (UTC) Date: Wed, 2 Nov 2016 16:41:58 +0000 (UTC) From: "Siddharth Seth (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15109) Set MaxPermSize to 256M for maven tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Nov 2016 16:42:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629525#comment-15629525 ] Siddharth Seth commented on HIVE-15109: --------------------------------------- Looks good to me. Had removed the permsize setting in a previous patch since it's not required with Java8. There's another jira which tries to reduce the memory to 1G instead of 2G for these tests - I'll update that patch with PermSize as well if this is needed. > Set MaxPermSize to 256M for maven tests > --------------------------------------- > > Key: HIVE-15109 > URL: https://issues.apache.org/jira/browse/HIVE-15109 > Project: Hive > Issue Type: Test > Components: Test > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Priority: Minor > Attachments: HIVE-15109.patch > > > Trying to run the qtests, for example, > mvn test -Dtest=TestMiniTezCliDriver -Dqfile=explainanalyze_1.q > and got > {code} > Running org.apache.hadoop.hive.cli.TestMiniTezCliDriver > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.591 sec - in org.apache.hadoop.hive.cli.TestMiniTezCliDriver > {code} > Looking into the hive.log, and found that it was due to too small PermGen space: > {code} > 2016-11-01T19:52:19,039 ERROR [org.apache.hadoop.util.JvmPauseMonitor$Monitor@261e733f] server.NIOServerCnxnFactory: Thread Thread[org.apache.hadoop.util.JvmPauseMonitor$Monitor@261e733f,5,main] died > java.lang.OutOfMemoryError: PermGen space > {code} > Setting env MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=256M" would not help. > We can set MaxPermSize to maven.test.jvm.args in pom.xml instead: > {code} > -Xmx2048m -XX:MaxPermSize=256M > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)