Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54E3811531 for ; Mon, 23 Jun 2014 03:59:25 +0000 (UTC) Received: (qmail 72900 invoked by uid 500); 23 Jun 2014 03:59:24 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 72818 invoked by uid 500); 23 Jun 2014 03:59:24 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 72804 invoked by uid 500); 23 Jun 2014 03:59:24 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 72800 invoked by uid 99); 23 Jun 2014 03:59:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2014 03:59:24 +0000 Date: Mon, 23 Jun 2014 03:59:24 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7271) Speed up unit tests 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/HIVE-7271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040395#comment-14040395 ] Brock Noland commented on HIVE-7271: ------------------------------------ We specify the number of q files to include in a "test batch" and that number is much less than the number of q file tests. Thus we probably aren't seeing as much benefit. After this change we can probably increase the batch size. > Speed up unit tests > ------------------- > > Key: HIVE-7271 > URL: https://issues.apache.org/jira/browse/HIVE-7271 > Project: Hive > Issue Type: Bug > Reporter: Gunther Hagleitner > Assignee: Gunther Hagleitner > Attachments: HIVE-7271.1.patch, HIVE-7271.2.patch, HIVE-7271.3.patch > > > Did some experiments to see if there's a way to speed up unit tests. TestCliDriver seemed to take a lot of time just spinning up/tearing down JVMs. I was also curious to see if running everything on a ram disk would help. > Results (I ran tests up to authorization_2): > - Current setup: 40 minutes > - Single JVM (not using child JVM to run all queries): 8 minutes > - Single JVM + ram disk: 7 minutes > So the ram disk didn't help that much. But running tests in single JVM seems worthwhile doing. -- This message was sent by Atlassian JIRA (v6.2#6252)